i2c: at91: split driver into core and master file
The single file i2c-at91.c has been split into core code (i2c-at91-core.c) and master mode specific code (i2c-at91-master.c). This should enhance maintainability and reduce ifdeffery for slave mode related code. The code itself hasn't been touched. Shared functions only had to be made non-static. Furthermore, includes have been cleaned up. Signed-off-by:Juergen Fitschen <me@jue.yt> [ludovic.desroches@microchip.com: fix checkpatch errors and use SPDX] Signed-off-by:
Ludovic Desroches <ludovic.desroches@microchip.com> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
Showing
- MAINTAINERS 2 additions, 1 deletionMAINTAINERS
- drivers/i2c/busses/Makefile 1 addition, 0 deletionsdrivers/i2c/busses/Makefile
- drivers/i2c/busses/i2c-at91-core.c 369 additions, 0 deletionsdrivers/i2c/busses/i2c-at91-core.c
- drivers/i2c/busses/i2c-at91-master.c 5 additions, 468 deletionsdrivers/i2c/busses/i2c-at91-master.c
- drivers/i2c/busses/i2c-at91.h 147 additions, 0 deletionsdrivers/i2c/busses/i2c-at91.h
Loading
Please register or sign in to comment