Re: [PATCH v2] iio: light: tsl2563 change of_property_read to device_property_read

2020-10-18 Thread Vaishnav M A
On Sun, Oct 18, 2020 at 8:14 PM Vaishnav M A wrote: > > On Sun, Oct 18, 2020 at 5:05 PM Jonathan Cameron wrote: > > > > On Sun, 18 Oct 2020 08:55:43 +0530 > > Vaishnav M A wrote: > > > > > replace the of_property_read_u32 for reading the amstaos,cover-comp-gain > > > property with device_propert

Re: [PATCH v2] iio: light: tsl2563 change of_property_read to device_property_read

2020-10-18 Thread Vaishnav M A
On Sun, Oct 18, 2020 at 5:05 PM Jonathan Cameron wrote: > > On Sun, 18 Oct 2020 08:55:43 +0530 > Vaishnav M A wrote: > > > replace the of_property_read_u32 for reading the amstaos,cover-comp-gain > > property with device_property_read_u32,allows the driver to > > get the properties information us

Re: [PATCH v2] iio: light: tsl2563 change of_property_read to device_property_read

2020-10-18 Thread Jonathan Cameron
On Sun, 18 Oct 2020 08:55:43 +0530 Vaishnav M A wrote: > replace the of_property_read_u32 for reading the amstaos,cover-comp-gain > property with device_property_read_u32,allows the driver to > get the properties information using the more generic device_property_* > helpers and opens the possibi

Re: [PATCH v2] iio: light: tsl2563 change of_property_read to device_property_read

2020-10-18 Thread Jonathan Cameron
On Sun, 18 Oct 2020 08:55:43 +0530 Vaishnav M A wrote: > replace the of_property_read_u32 for reading the amstaos,cover-comp-gain > property with device_property_read_u32,allows the driver to > get the properties information using the more generic device_property_* > helpers and opens the possibi

[PATCH v2] iio: light: tsl2563 change of_property_read to device_property_read

2020-10-17 Thread Vaishnav M A
replace the of_property_read_u32 for reading the amstaos,cover-comp-gain property with device_property_read_u32,allows the driver to get the properties information using the more generic device_property_* helpers and opens the possibility of passing the properties during platform instantiation of t