mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 12:21:22 -05:00
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 <krzysztof.kozlowski@linaro.org> Acked-by: Nikhil Agarwal <nikhil.agarwal@amd.com> Link: https://lore.kernel.org/r/20250502-cdx-clean-v3-5-6aaa5b369fc5@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a46da20be7
commit
a398c4223b
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user