* [PATCH] staging: iio: light: isl29018/28: remove I2C_CLASS_HWMON .class setting
@ 2016-07-16 2:28 Alison Schofield
2016-07-18 8:50 ` Laxman Dewangan
0 siblings, 1 reply; 7+ messages in thread
From: Alison Schofield @ 2016-07-16 2:28 UTC (permalink / raw)
To: jic23; +Cc: ldewangan, knaack.h, lars, pmeerw, linux-iio, linux-kernel
I2C_CLASS_HWMON is for a hardware monitoring chip wanting
auto-detection. IIO drivers don't typically use .class.
Remove it.
Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Cc: Daniel Baluta <daniel.baluta@gmail.com>
---
drivers/staging/iio/light/isl29018.c | 1 -
drivers/staging/iio/light/isl29028.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/drivers/staging/iio/light/isl29018.c b/drivers/staging/iio/light/isl29018.c
index 80b6a9e..f47a17d 100644
--- a/drivers/staging/iio/light/isl29018.c
+++ b/drivers/staging/iio/light/isl29018.c
@@ -823,7 +823,6 @@ static const struct of_device_id isl29018_of_match[] = {
MODULE_DEVICE_TABLE(of, isl29018_of_match);
static struct i2c_driver isl29018_driver = {
- .class = I2C_CLASS_HWMON,
.driver = {
.name = "isl29018",
.acpi_match_table = ACPI_PTR(isl29018_acpi_match),
diff --git a/drivers/staging/iio/light/isl29028.c b/drivers/staging/iio/light/isl29028.c
index a238b16..aa413e5 100644
--- a/drivers/staging/iio/light/isl29028.c
+++ b/drivers/staging/iio/light/isl29028.c
@@ -546,7 +546,6 @@ static const struct of_device_id isl29028_of_match[] = {
MODULE_DEVICE_TABLE(of, isl29028_of_match);
static struct i2c_driver isl29028_driver = {
- .class = I2C_CLASS_HWMON,
.driver = {
.name = "isl29028",
.of_match_table = isl29028_of_match,
--
2.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] staging: iio: light: isl29018/28: remove I2C_CLASS_HWMON .class setting
2016-07-16 2:28 [PATCH] staging: iio: light: isl29018/28: remove I2C_CLASS_HWMON .class setting Alison Schofield
@ 2016-07-18 8:50 ` Laxman Dewangan
2016-07-18 13:30 ` Jonathan Cameron
0 siblings, 1 reply; 7+ messages in thread
From: Laxman Dewangan @ 2016-07-18 8:50 UTC (permalink / raw)
To: Alison Schofield, jic23; +Cc: knaack.h, lars, pmeerw, linux-iio, linux-kernel
On Saturday 16 July 2016 07:58 AM, Alison Schofield wrote:
> I2C_CLASS_HWMON is for a hardware monitoring chip wanting
> auto-detection. IIO drivers don't typically use .class.
> Remove it.
>
> Signed-off-by: Alison Schofield <amsfield22@gmail.com>
> Cc: Daniel Baluta <daniel.baluta@gmail.com>
>
Agree.
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] staging: iio: light: isl29018/28: remove I2C_CLASS_HWMON .class setting
2016-07-18 8:50 ` Laxman Dewangan
@ 2016-07-18 13:30 ` Jonathan Cameron
2016-07-19 7:13 ` Wolfram Sang
0 siblings, 1 reply; 7+ messages in thread
From: Jonathan Cameron @ 2016-07-18 13:30 UTC (permalink / raw)
To: Laxman Dewangan, Alison Schofield
Cc: knaack.h, lars, pmeerw, linux-iio, linux-kernel, Wolfram Sang, Linux I2C
On 18/07/16 09:50, Laxman Dewangan wrote:
>
> On Saturday 16 July 2016 07:58 AM, Alison Schofield wrote:
>> I2C_CLASS_HWMON is for a hardware monitoring chip wanting
>> auto-detection. IIO drivers don't typically use .class.
>> Remove it.
>>
>> Signed-off-by: Alison Schofield <amsfield22@gmail.com>
>> Cc: Daniel Baluta <daniel.baluta@gmail.com>
>>
>
> Agree.
> Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Any resulting ABI change from dropping it?
I don't think so, as it doesn't support detection anyway,
but best to be sure ;)
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] staging: iio: light: isl29018/28: remove I2C_CLASS_HWMON .class setting
@ 2016-07-19 7:13 ` Wolfram Sang
0 siblings, 0 replies; 7+ messages in thread
From: Wolfram Sang @ 2016-07-19 7:13 UTC (permalink / raw)
To: Jonathan Cameron
Cc: Laxman Dewangan, Alison Schofield, knaack.h, lars, pmeerw,
linux-iio, linux-kernel, Linux I2C
[-- Attachment #1: Type: text/plain, Size: 708 bytes --]
On Mon, Jul 18, 2016 at 02:30:46PM +0100, Jonathan Cameron wrote:
> On 18/07/16 09:50, Laxman Dewangan wrote:
> >
> > On Saturday 16 July 2016 07:58 AM, Alison Schofield wrote:
> >> I2C_CLASS_HWMON is for a hardware monitoring chip wanting
> >> auto-detection. IIO drivers don't typically use .class.
> >> Remove it.
> >>
> >> Signed-off-by: Alison Schofield <amsfield22@gmail.com>
> >> Cc: Daniel Baluta <daniel.baluta@gmail.com>
> >>
> >
> > Agree.
> > Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
> Any resulting ABI change from dropping it?
What do you mean with ABI? This is only relevant for "automatic"
instantiation. From me:
Acked-by: Wolfram Sang <wsa@the-dreams.de>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] staging: iio: light: isl29018/28: remove I2C_CLASS_HWMON .class setting
@ 2016-07-19 7:13 ` Wolfram Sang
0 siblings, 0 replies; 7+ messages in thread
From: Wolfram Sang @ 2016-07-19 7:13 UTC (permalink / raw)
To: Jonathan Cameron
Cc: Laxman Dewangan, Alison Schofield, knaack.h-Mmb7MZpHnFY,
lars-Qo5EllUWu/uELgA04lAiVw, pmeerw-jW+XmwGofnusTnJN9+BGXg,
linux-iio-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Linux I2C
[-- Attachment #1: Type: text/plain, Size: 823 bytes --]
On Mon, Jul 18, 2016 at 02:30:46PM +0100, Jonathan Cameron wrote:
> On 18/07/16 09:50, Laxman Dewangan wrote:
> >
> > On Saturday 16 July 2016 07:58 AM, Alison Schofield wrote:
> >> I2C_CLASS_HWMON is for a hardware monitoring chip wanting
> >> auto-detection. IIO drivers don't typically use .class.
> >> Remove it.
> >>
> >> Signed-off-by: Alison Schofield <amsfield22-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> >> Cc: Daniel Baluta <daniel.baluta-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> >>
> >
> > Agree.
> > Acked-by: Laxman Dewangan <ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> Any resulting ABI change from dropping it?
What do you mean with ABI? This is only relevant for "automatic"
instantiation. From me:
Acked-by: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] staging: iio: light: isl29018/28: remove I2C_CLASS_HWMON .class setting
2016-07-19 7:13 ` Wolfram Sang
(?)
@ 2016-07-20 15:08 ` Jonathan Cameron
2016-07-24 11:30 ` Jonathan Cameron
-1 siblings, 1 reply; 7+ messages in thread
From: Jonathan Cameron @ 2016-07-20 15:08 UTC (permalink / raw)
To: Wolfram Sang
Cc: Laxman Dewangan, Alison Schofield, knaack.h, lars, pmeerw,
linux-iio, linux-kernel, Linux I2C
On 19/07/16 08:13, Wolfram Sang wrote:
> On Mon, Jul 18, 2016 at 02:30:46PM +0100, Jonathan Cameron wrote:
>> On 18/07/16 09:50, Laxman Dewangan wrote:
>>>
>>> On Saturday 16 July 2016 07:58 AM, Alison Schofield wrote:
>>>> I2C_CLASS_HWMON is for a hardware monitoring chip wanting
>>>> auto-detection. IIO drivers don't typically use .class.
>>>> Remove it.
>>>>
>>>> Signed-off-by: Alison Schofield <amsfield22@gmail.com>
>>>> Cc: Daniel Baluta <daniel.baluta@gmail.com>
>>>>
>>>
>>> Agree.
>>> Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
>> Any resulting ABI change from dropping it?
>
> What do you mean with ABI? This is only relevant for "automatic"
> instantiation.
Cool, I was just being paranoid and didn't have time to check!
Thanks,
Jonathan
> From me:
>
> Acked-by: Wolfram Sang <wsa@the-dreams.de>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] staging: iio: light: isl29018/28: remove I2C_CLASS_HWMON .class setting
2016-07-20 15:08 ` Jonathan Cameron
@ 2016-07-24 11:30 ` Jonathan Cameron
0 siblings, 0 replies; 7+ messages in thread
From: Jonathan Cameron @ 2016-07-24 11:30 UTC (permalink / raw)
To: Wolfram Sang
Cc: Laxman Dewangan, Alison Schofield, knaack.h, lars, pmeerw,
linux-iio, linux-kernel, Linux I2C
On 20/07/16 16:08, Jonathan Cameron wrote:
> On 19/07/16 08:13, Wolfram Sang wrote:
>> On Mon, Jul 18, 2016 at 02:30:46PM +0100, Jonathan Cameron wrote:
>>> On 18/07/16 09:50, Laxman Dewangan wrote:
>>>>
>>>> On Saturday 16 July 2016 07:58 AM, Alison Schofield wrote:
>>>>> I2C_CLASS_HWMON is for a hardware monitoring chip wanting
>>>>> auto-detection. IIO drivers don't typically use .class.
>>>>> Remove it.
>>>>>
>>>>> Signed-off-by: Alison Schofield <amsfield22@gmail.com>
>>>>> Cc: Daniel Baluta <daniel.baluta@gmail.com>
>>>>>
>>>>
>>>> Agree.
>>>> Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
>>> Any resulting ABI change from dropping it?
>>
>> What do you mean with ABI? This is only relevant for "automatic"
>> instantiation.
> Cool, I was just being paranoid and didn't have time to check!
>
> Thanks,
>
> Jonathan
>> From me:
>>
>> Acked-by: Wolfram Sang <wsa@the-dreams.de>
>>
>
Applied to the togreg branch of iio.git - initially pushed out
as testing for the autoubuilders to play with it.
thanks,
Jonathan
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-07-24 11:30 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-16 2:28 [PATCH] staging: iio: light: isl29018/28: remove I2C_CLASS_HWMON .class setting Alison Schofield
2016-07-18 8:50 ` Laxman Dewangan
2016-07-18 13:30 ` Jonathan Cameron
2016-07-19 7:13 ` Wolfram Sang
2016-07-19 7:13 ` Wolfram Sang
2016-07-20 15:08 ` Jonathan Cameron
2016-07-24 11:30 ` Jonathan Cameron
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.