Re: [PATCH v3 10/10] iio: pressure: mprls0025pa add SPI driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello Andy,

On Sat, Jan 06, 2024 at 05:30:21PM +0200, Andy Shevchenko wrote:
> On Fri, Dec 29, 2023 at 11:24:38AM +0200, Petre Rodan wrote:
> > Add SPI component of the driver.
> 
> > Tested with mprls0015pa0000sa in spi mode on BeagleBone Black on
> > slightly patched 6.7.0-rc6 mainline.
> 
> > Tested with mprls0025pa in i2c mode on BeagleBone Black with togreg
> > branch on
> > git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git
> > (tag: iio-for-6.8a)
> 
> I believe these paragraphs can be moved to the patch submission comments from
> the commit message...
> 
> > Tested-by: Andreas Klinger <ak@xxxxxxxxxxxxx>
> > Signed-off-by: Petre Rodan <petre.rodan@xxxxxxxxxxxxxxx>
> > ---
> > v2 -> v3 removed iio.h include line
> 
> ...somewhere here.
> 
> ...
> 
> > +#include <linux/mod_devicetable.h>
> > +#include <linux/module.h>
> > +#include <linux/spi/spi.h>
> > +#include <linux/stddef.h>
> 
> Basically here we need additionally these ones:
> 
> device.h
> errno.h
> types.h

ok, I'll add errno.h. the other two are in the shared .h file.

cheers,
peter

> (I haven't checked i2c counterpart for the similarities).
> 
> -- 
> With Best Regards,
> Andy Shevchenko
> 
> 

-- 
petre rodan

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux