diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-09-26 15:29:15 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-04 15:12:15 +0200 |
| commit | 82375469755662b9910a22da14027cbef2bca666 (patch) | |
| tree | ed5ab2266f9219a056e4a172d5773a8f0cd5e30a /drivers/usb/cdns3/cdns3-ti.c | |
| parent | usb: typec: tcpm: use max() to get higher value (diff) | |
| download | linux-82375469755662b9910a22da14027cbef2bca666.tar.gz linux-82375469755662b9910a22da14027cbef2bca666.zip | |
usb: typec: stusb160x: Make use of i2c_get_match_data()
Get matching data in one step by switching to use i2c_get_match_data().
As a positive side effect the matching data is qualified as a constant.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240926122944.1251923-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions
