]> git.ipfire.org Git - thirdparty/linux.git/commit
reset: eyeq: drop device_set_of_node_from_dev() done by parent
authorThéo Lebrun <theo.lebrun@bootlin.com>
Wed, 25 Feb 2026 16:55:07 +0000 (17:55 +0100)
committerStephen Boyd <sboyd@kernel.org>
Wed, 29 Apr 2026 02:03:50 +0000 (19:03 -0700)
commit4ac170432cf74b753cf59bcd0d449dced48585da
tree12b2feff37f1f2f65f0de490e5010210bd8c1ee9
parenta25ab518f355e1f0dcbea24ee26418dfcd6944b5
reset: eyeq: drop device_set_of_node_from_dev() done by parent

Our parent driver (clk-eyeq) now does the
device_set_of_node_from_dev(dev, dev->parent)
call through the newly introduced devm_auxiliary_device_create() helper.

Doing it again in the reset-eyeq probe would be redundant.
Drop both the WARN_ON() and the device_set_of_node_from_dev() call.
Also fix the following comment that talks about "our newfound OF node".

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/reset/reset-eyeq.c