Staging: fsl-mc: bus: Drop owner assignment from platform_driver
authorBhumika Goyal <bhumirks@gmail.com>
Thu, 18 Feb 2016 05:49:38 +0000 (11:19 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 23:14:59 +0000 (15:14 -0800)
commit453dd922c4db55905796209af4be1503c54cd84f
tree6ccde4b3a31f1d073ebc85094c4a88381b5c8a47
parente26bf889ddc1015e37829b74f8b61c63294bf0bf
Staging: fsl-mc: bus: Drop owner assignment from platform_driver

For platform_driver, we don't need to set .owner field as is set by
platform driver core. The semantic patch used here first checks whether
platform_driver struct was actually used in a call to set the .owner
field.
The coccinelle script that generated the patch can be found here:
http://www.spinics.net/lists/kernel/msg2029903.html

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/mc-bus.c