Skip to content

Commit 58d1d13

Browse files
jbrun3tpH5
authored andcommitted
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 <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Jerome Brunet <[email protected]> Reviewed-by: Philipp Zabel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Philipp Zabel <[email protected]>
1 parent 7af26f3 commit 58d1d13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/reset/reset-meson.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ static int meson_reset_probe(struct platform_device *pdev)
134134
if (IS_ERR(base))
135135
return PTR_ERR(base);
136136

137-
data->param = of_device_get_match_data(dev);
137+
data->param = device_get_match_data(dev);
138138
if (!data->param)
139139
return -ENODEV;
140140

0 commit comments

Comments
 (0)