diff options
author | Rob Herring <robh@kernel.org> | 2023-10-09 16:13:48 -0500 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2023-10-29 19:45:06 +0100 |
commit | c7e2f4e672364604193d4592c4c3d276137d04c0 (patch) | |
tree | 6e42830f5a2c4463d8a03e35c8db61fd03355b3d /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 725b6a89ed82e72fdcb5cb2c946c65aaa17910e6 (diff) |
watchdog: st_lpc: Use device_get_match_data()
Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data. With this, adjust the includes to explicitly
include the correct headers.
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20231009211356.3242037-18-robh@kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions