diff options
author | Anup Sharma <anupnewsmail@gmail.com> | 2023-05-13 13:12:17 +0300 |
---|---|---|
committer | Neil Armstrong <neil.armstrong@linaro.org> | 2023-05-16 11:18:59 +0300 |
commit | 728cb3f061e2b3a002fd76d91c2449b1497b6640 (patch) | |
tree | 6a29a6af08af63d33bf27ee78d0e94314c5eb1d6 /drivers/gpio/gpio-brcmstb.c | |
parent | adbcfcc92b5aaffdee4c5e62c077919014c483d9 (diff) | |
download | linux-728cb3f061e2b3a002fd76d91c2449b1497b6640.tar.xz |
gpu: drm: bridge: No need to set device_driver owner
There is no need to exclusively set the .owner member of the struct
device_driver when defining the platform_driver struct. The Linux core
takes care of setting the .owner member as part of the call to
module_platform_driver() helper function.
Issue identified using the platform_no_drv_owner.cocci Coccinelle
semantic patch as:
drivers/gpu/drm/bridge/samsung-dsim.c:1957:6-11: No need to set .owner here.
The core will do it.
No functional changes are intended.
Signed-off-by: Anup Sharma <anupnewsmail@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/ZF9igb/nvL6GRBsq@yoga
Diffstat (limited to 'drivers/gpio/gpio-brcmstb.c')
0 files changed, 0 insertions, 0 deletions