Message ID | 20240902222824.1145571-1-andy.shevchenko@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | iio: use dev_get_platdata() to access platform_data | expand |
On Tue, Sep 03, 2024 at 01:16:45AM +0300, Andy Shevchenko wrote: > Unify how IIO drivers access platform_data field of struct device. > In simple and straightforward cases constify the local variables. > > (Not tested) Jonathan, in case you are fine with the series, feel free to squash, e.g., changes against hid-sensor drivers.
On Tue, 3 Sep 2024 20:57:27 +0300 Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > On Tue, Sep 03, 2024 at 01:16:45AM +0300, Andy Shevchenko wrote: > > Unify how IIO drivers access platform_data field of struct device. > > In simple and straightforward cases constify the local variables. > > > > (Not tested) > > Jonathan, in case you are fine with the series, feel free to squash, e.g., > changes against hid-sensor drivers. I don't follow, but maybe that will become clear once I've looked at rest of the stuff I haven't read yet. Anyhow, applied to the togreg branch of iio.git and pushed out as testing for all the normal reasons. Another series that will probably be 6.13 material. Thanks, Jonathan >
On Sat, Sep 07, 2024 at 04:42:58PM +0100, Jonathan Cameron wrote: > On Tue, 3 Sep 2024 20:57:27 +0300 > Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > > On Tue, Sep 03, 2024 at 01:16:45AM +0300, Andy Shevchenko wrote: > > > Unify how IIO drivers access platform_data field of struct device. > > > In simple and straightforward cases constify the local variables. > > > > > > (Not tested) > > > > Jonathan, in case you are fine with the series, feel free to squash, e.g., > > changes against hid-sensor drivers. > I don't follow, but maybe that will become clear once I've looked > at rest of the stuff I haven't read yet. I mean all the patches that starts with "iio: *: hid-sensor-*:" can be squashed into one with "iio: hid-sensor:" > Anyhow, applied to the togreg branch of iio.git and pushed out as testing > for all the normal reasons. Another series that will probably be 6.13 material. Thank you!