diff options
author | Li Zetao <lizetao1@huawei.com> | 2023-08-08 05:14:46 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-09-13 22:11:55 +0300 |
commit | c2bfe2b7a921906858006d72fd822f6121f6649f (patch) | |
tree | bc93671f9c00e916173951b6c7f3d1041d4a5aa4 /drivers/soc/qcom | |
parent | 776b29eb57849bd81ece3e82b1b1b76452dde017 (diff) | |
download | linux-c2bfe2b7a921906858006d72fd822f6121f6649f.tar.xz |
soc: qcom: wcnss_ctrl: Remove redundant initialization owner in wcnss_ctrl_driver
The module_rpmsg_driver() will set "THIS_MODULE" to driver.owner when
register a rpmsg_driver driver, so it is redundant initialization to set
driver.owner in the statement. Remove it for clean code.
Signed-off-by: Li Zetao <lizetao1@huawei.com>
Link: https://lore.kernel.org/r/20230808021446.2975843-1-lizetao1@huawei.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'drivers/soc/qcom')
-rw-r--r-- | drivers/soc/qcom/wcnss_ctrl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/soc/qcom/wcnss_ctrl.c b/drivers/soc/qcom/wcnss_ctrl.c index ad9942412c58..2894e214cacf 100644 --- a/drivers/soc/qcom/wcnss_ctrl.c +++ b/drivers/soc/qcom/wcnss_ctrl.c @@ -355,7 +355,6 @@ static struct rpmsg_driver wcnss_ctrl_driver = { .callback = wcnss_ctrl_smd_callback, .drv = { .name = "qcom_wcnss_ctrl", - .owner = THIS_MODULE, .of_match_table = wcnss_ctrl_of_match, }, }; |