Re: [PATCH v4 2/3] iio: add MEMSensing MSA311 3-axis accelerometer driver
From: Andy Shevchenko <hidden>
Date: 2022-08-04 18:30:55
Also in:
linux-iio, lkml
From: Andy Shevchenko <hidden>
Date: 2022-08-04 18:30:55
Also in:
linux-iio, lkml
On Thu, Aug 4, 2022 at 8:17 PM Dmitry Rokosov [off-list ref] wrote:
On Wed, Aug 03, 2022 at 07:16:13PM +0000, Dmitry Rokosov wrote:quoted
On Wed, Aug 03, 2022 at 07:49:33PM +0200, Andy Shevchenko wrote:quoted
On Wed, Aug 3, 2022 at 3:11 PM Dmitry Rokosov [off-list ref] wrote:
Please, remove unneeded context when replying! ...
quoted
quoted
quoted
+ dev_err(dev, "cannot %s register %u from debugfs (%d)\n", + readval ? "read" : "write", reg, err);You may consider taking [1] as a precursor here and use str_read_write(). [1]: https://lore.kernel.org/linux-i2c/20220703154232.55549-1-andriy.shevchenko@linux.intel.com/ (local)Oh, really... Thank you for suggestion!I have taken it closer, and it's really helpful and nice, but looks like it's not merged to linux-next. Please advise how I can use it in the driver. Should I provide "Depends-On:" tag as I did for my HZ units patchset?
No, just take that patch into your series. -- With Best Regards, Andy Shevchenko