RE: [PATCH v3 1/3] spi: uapi: unify SPI modes into a single spi.h header

2020-12-03 Thread Ardelean, Alexandru
e: [PATCH v3 1/3] spi: uapi: unify SPI modes into a single spi.h > header > > On Fri, Nov 27, 2020 at 3:08 PM Alexandru Ardelean > wrote: > > > > This change moves all the SPI mode bits into a separate 'spi.h' header > > in uapi. This is meant to re-us

Re: [PATCH v3 1/3] spi: uapi: unify SPI modes into a single spi.h header

2020-11-27 Thread Andy Shevchenko
On Fri, Nov 27, 2020 at 3:08 PM Alexandru Ardelean wrote: > > This change moves all the SPI mode bits into a separate 'spi.h' header in > uapi. This is meant to re-use these definitions inside the kernel as well > as export them to userspace (via uapi). uapi -> UAPI (or uAPI) here and everywhere

[PATCH v3 1/3] spi: uapi: unify SPI modes into a single spi.h header

2020-11-27 Thread Alexandru Ardelean
This change moves all the SPI mode bits into a separate 'spi.h' header in uapi. This is meant to re-use these definitions inside the kernel as well as export them to userspace (via uapi). The SPI mode definitions have usually been duplicated between between 'include/linux/spi/spi.h' and 'include/u