diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2023-03-09 04:17:55 +0100 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-03-10 16:27:28 +0100 |
commit | 8a36cdc8ef2facc06d8bb973229131846770109b (patch) | |
tree | 9ad10d7d4868ab258eeee880bccde56fef59f227 /drivers | |
parent | gpio: pcie-idio-24: Convert to immutable irq_chip (diff) | |
download | linux-8a36cdc8ef2facc06d8bb973229131846770109b.tar.xz linux-8a36cdc8ef2facc06d8bb973229131846770109b.zip |
gpio: loongson: Remove unnecessary .owner
Remove .owner field if calls are used which set it automatically.
./drivers/gpio/gpio-loongson-64bit.c:225:3-8: No need to set .owner here. The core will do it.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4450
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpio/gpio-loongson-64bit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-loongson-64bit.c b/drivers/gpio/gpio-loongson-64bit.c index 20a68e5e66c1..06213bbfabdd 100644 --- a/drivers/gpio/gpio-loongson-64bit.c +++ b/drivers/gpio/gpio-loongson-64bit.c @@ -222,7 +222,6 @@ MODULE_DEVICE_TABLE(acpi, loongson_gpio_acpi_match); static struct platform_driver loongson_gpio_driver = { .driver = { .name = "loongson-gpio", - .owner = THIS_MODULE, .of_match_table = loongson_gpio_of_match, .acpi_match_table = loongson_gpio_acpi_match, }, |