Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

reset: amlogic: use generic data matching function

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>

authored by

Jerome Brunet and committed by
Philipp Zabel
58d1d138 7af26f3c

+1 -1
+1 -1
drivers/reset/reset-meson.c
··· 134 134 if (IS_ERR(base)) 135 135 return PTR_ERR(base); 136 136 137 - data->param = of_device_get_match_data(dev); 137 + data->param = device_get_match_data(dev); 138 138 if (!data->param) 139 139 return -ENODEV; 140 140