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

From: Krzysztof Kozlowski
Date: Fri Jul 10 2015 - 01:44:22 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):
regulator: Drop owner assignment from i2c_driver
regulator: Drop owner assignment from platform_driver

drivers/regulator/act8865-regulator.c | 1 -
drivers/regulator/da9062-regulator.c | 1 -
drivers/regulator/da9210-regulator.c | 1 -
drivers/regulator/da9211-regulator.c | 1 -
drivers/regulator/isl6271a-regulator.c | 1 -
drivers/regulator/isl9305.c | 1 -
drivers/regulator/lp3971.c | 1 -
drivers/regulator/lp3972.c | 1 -
drivers/regulator/lp872x.c | 1 -
drivers/regulator/ltc3589.c | 1 -
drivers/regulator/max1586.c | 1 -
drivers/regulator/max8660.c | 1 -
drivers/regulator/max8973-regulator.c | 1 -
drivers/regulator/pfuze100-regulator.c | 1 -
drivers/regulator/tps51632-regulator.c | 1 -
drivers/regulator/tps62360-regulator.c | 1 -
drivers/regulator/tps65023-regulator.c | 1 -
17 files changed, 17 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/