diff options
author | Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp> | 2025-01-17 02:53:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-17 14:58:49 +0300 |
commit | c65b229699dec5affffd4d4972825c3b3a818e92 (patch) | |
tree | e4ecf0790c50605682187f3b8b508b41ca4147ec /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bc32bbd0401170853b479645002df52f849f48fe (diff) | |
download | linux-c65b229699dec5affffd4d4972825c3b3a818e92.tar.xz |
spmi: hisi-spmi-controller: Drop duplicated OF node assignment in spmi_controller_probe()
spmi_controller_probe() assigns a parent device and an OF node to an
SPMI controller. However, the operations are not needed as they are
already assigned in spmi_controller_alloc(). Thus, remove the duplicated
assignments. An unnecessary OF node reference acquisition is also
dropped by this patch.
Signed-off-by: Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp>
Suggested-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20250116044907.2947218-1-joe@pf.is.s.u-tokyo.ac.jp
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20250116235339.300485-3-sboyd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions