Messages in this thread | | | From | Dmitry Rokosov <> | Subject | Re: [PATCH v4 2/3] iio: add MEMSensing MSA311 3-axis accelerometer driver | Date | Fri, 5 Aug 2022 14:04:06 +0000 |
| |
On Thu, Aug 04, 2022 at 08:30:12PM +0200, Andy Shevchenko wrote: > > > > > + 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/ > > > > > > 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.
Do you mean include your patch to this reply-thread through the message-id linking? If my understanding is correct, maybe also it's better to include HZ units series to the current series? I mean patch series on below link:
https://lore.kernel.org/linux-iio/20220801143811.14817-1-ddrokosov@sberdevices.ru/
-- Thank you, Dmitry
| |