Skip to content

Commit

Permalink
reset: amlogic: use generic data matching function
Browse files Browse the repository at this point in the history
There is no need to use the DT specific function to get
matching data, use the generic one instead

Suggested-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20240910-meson-rst-aux-v5-2-60be62635d3e@baylibre.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
  • Loading branch information
Jerome Brunet authored and Philipp Zabel committed Oct 1, 2024
1 parent 7af26f3 commit 58d1d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/reset/reset-meson.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ static int meson_reset_probe(struct platform_device *pdev)
if (IS_ERR(base))
return PTR_ERR(base);

data->param = of_device_get_match_data(dev);
data->param = device_get_match_data(dev);
if (!data->param)
return -ENODEV;

Expand Down

0 comments on commit 58d1d13

Please sign in to comment.