]> git.baikalelectronics.ru Git - kernel.git/commit
staging: remove unneeded static set .owner field in platform_driver
authorzhong jiang <zhongjiang@huawei.com>
Wed, 12 Sep 2018 03:40:28 +0000 (11:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Sep 2018 08:45:51 +0000 (10:45 +0200)
commit532c84a620311e24c4e48b3bfa1b3a2e42c6d5f5
treea806a08f496e943129aee9dfc1c291345f37cf9d
parent0b3896724c4bf9cd9788d936c61d0bda825712fe
staging: remove unneeded static set .owner field in platform_driver

platform_driver_register will set the .owner field. So it is safe
to remove the redundant assignment.

The issue is detected with the help of Coccinelle.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Acked-by: Vaibhav Agarwal <vaibhav.sr@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/audio_codec.c
drivers/staging/mt7621-eth/gsw_mt7621.c
drivers/staging/mt7621-eth/mtk_eth_soc.c