diff options
| author | Javier Carrasco <[email protected]> | 2024-04-29 13:35:59 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-05-10 09:36:51 +0000 |
| commit | 344f74cf531d90245e1296b3ffbaa7df99dd18f6 (patch) | |
| tree | f94aaa74a97cda86f54aa07170c61ce42d2dfec5 /net/unix/af_unix.c | |
| parent | usb: typec: tipd: fix event checking for tps6598x (diff) | |
| download | kernel-344f74cf531d90245e1296b3ffbaa7df99dd18f6.tar.gz kernel-344f74cf531d90245e1296b3ffbaa7df99dd18f6.zip | |
usb: typec: tipd: rely on i2c_get_match_data()
The first thing i2c_get_match_data() does is calling
device_get_match_data(), which already checks if there is a fwnode.
Remove explicit usage of device_get_match_data() as it is already
included in i2c_get_match_data().
Signed-off-by: Javier Carrasco <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/20240429-tps6598x_fix_event_handling-v3-3-4e8e58dce489@wolfvision.net
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
