diff options
| author | Jarkko Nikula <[email protected]> | 2024-11-21 12:18:19 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2024-11-23 17:49:02 +0000 |
| commit | 8281d627905dc72241ca3969ee18f3e029e96d00 (patch) | |
| tree | 1c2175b0274290bba6bb0d2a66bc6aedc6aab6a4 /drivers/usb/cdns3/cdns3-ti.c | |
| parent | Merge tag '6.13-rc-part1-SMB3-client-fixes' of git://git.samba.org/sfrench/ci... (diff) | |
| download | kernel-8281d627905dc72241ca3969ee18f3e029e96d00.tar.gz kernel-8281d627905dc72241ca3969ee18f3e029e96d00.zip | |
hwmon: (tmp108) Do not fail in I3C probe when I3C regmap is a module
I3C device probe fails when CONFIG_REGMAP_I3C=m:
p3t1085_i3c 0-23615290090: error -ENODEV: Failed to register i3c regmap
Fix this by using the IS_ENABLED(CONFIG_REGMAP_I3C) macro in the code.
Fixes: c40655e33106 ("hwmon: (tmp108) Add support for I3C device")
Signed-off-by: Jarkko Nikula <[email protected]>
Message-ID: <[email protected]>
[groeck: Remove #ifdef entirely; it is not needed due to dead code elimination]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions
