Re: [PATCH RFC 2/4] i2c: at91: split driver into core and master file

2017-10-31 Thread Ludovic Desroches
On Fri, Oct 27, 2017 at 05:11:41PM +0200, Juergen Fitschen wrote: > 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 i

[PATCH RFC 2/4] i2c: at91: split driver into core and master file

2017-10-27 Thread Juergen Fitschen
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.