mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 16:11:38 +00:00
staging: iio: trigger: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
5508ef724d
commit
c85d13ed2b
@ -279,7 +279,6 @@ static int iio_bfin_tmr_trigger_remove(struct platform_device *pdev)
|
||||
static struct platform_driver iio_bfin_tmr_trigger_driver = {
|
||||
.driver = {
|
||||
.name = "iio_bfin_tmr_trigger",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = iio_bfin_tmr_trigger_probe,
|
||||
.remove = iio_bfin_tmr_trigger_remove,
|
||||
|
@ -206,7 +206,6 @@ static struct platform_driver iio_trig_periodic_rtc_driver = {
|
||||
.remove = iio_trig_periodic_rtc_remove,
|
||||
.driver = {
|
||||
.name = "iio_prtc_trigger",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user