aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2025-05-02 06:20:37 +0000
committerGreg Kroah-Hartman <[email protected]>2025-07-01 10:18:07 +0000
commita398c4223b019d1698200d79777ea8d9917fe1a9 (patch)
tree21c550aadeac572289e9dae437faa1ce335000a7 /drivers/cdx/controller/cdx_controller.c
parentcdx: controller: Do not open-code module_platform_driver() (diff)
downloadkernel-a398c4223b019d1698200d79777ea8d9917fe1a9.tar.gz
kernel-a398c4223b019d1698200d79777ea8d9917fe1a9.zip
cdx: controller: Drop unneeded driver.pm NULL assignment
Struct driver in platform_driver is zero-ed so there is no need to assign its 'pm' member to NULL. Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Nikhil Agarwal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
-rw-r--r--drivers/cdx/controller/cdx_controller.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/cdx/controller/cdx_controller.c b/drivers/cdx/controller/cdx_controller.c
index bfb5ac2d861f..fca83141e3e6 100644
--- a/drivers/cdx/controller/cdx_controller.c
+++ b/drivers/cdx/controller/cdx_controller.c
@@ -243,7 +243,6 @@ MODULE_DEVICE_TABLE(of, cdx_match_table);
static struct platform_driver cdx_pdriver = {
.driver = {
.name = "cdx-controller",
- .pm = NULL,
.of_match_table = cdx_match_table,
},
.probe = xlnx_cdx_probe,