[PATCH] Drop owner assignment from i2c_driver (and platform left-overs)

From: Krzysztof Kozlowski
Date: Fri Jul 10 2015 - 02:40:10 EST


Hi,


The i2c drivers also do not have to set 'owner' field because
i2c_register_driver() will do it instead.

'owner' is removed from i2c drivers, which I was able to compile
with allyesconfig (arm, arm64, i386, x86_64, ppc64).
Only compile-tested.

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html


Best regards,
Krzysztof


Krzysztof Kozlowski (2):
rtc: Drop owner assignment from i2c_driver
rtc: Drop owner assignment from platform_driver

drivers/rtc/rtc-ab-b5ze-s3.c | 1 -
drivers/rtc/rtc-bq32k.c | 1 -
drivers/rtc/rtc-ds1307.c | 1 -
drivers/rtc/rtc-ds1374.c | 1 -
drivers/rtc/rtc-ds3232.c | 1 -
drivers/rtc/rtc-fm3130.c | 1 -
drivers/rtc/rtc-hym8563.c | 1 -
drivers/rtc/rtc-isl12057.c | 1 -
drivers/rtc/rtc-opal.c | 1 -
drivers/rtc/rtc-pcf2127.c | 1 -
drivers/rtc/rtc-pcf85063.c | 1 -
drivers/rtc/rtc-pcf8523.c | 1 -
drivers/rtc/rtc-pcf8563.c | 1 -
drivers/rtc/rtc-pcf8583.c | 1 -
drivers/rtc/rtc-rx8025.c | 1 -
drivers/rtc/rtc-rx8581.c | 1 -
16 files changed, 16 deletions(-)

--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/