diff options
author | Hugo Villeneuve <hvilleneuve@dimonoff.com> | 2023-12-21 18:18:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-04 16:30:04 +0100 |
commit | 7e2ead98b7478629b10e616ad997c24c390fbc84 (patch) | |
tree | 7b6e1402764f9aa5f6e027154c4300c9f1acb8ee /lib/test_fortify/write_overflow-strlcpy.c | |
parent | 195f01ddcc8146465dff1cbdfd592aa3c4f3ce5d (diff) |
serial: sc16is7xx: use i2c_get_match_data()
Use preferred i2c_get_match_data() instead of device_get_match_data()
and i2c_client_get_device_id() to get the driver match data.
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20231221231823.2327894-9-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy.c')
0 files changed, 0 insertions, 0 deletions