diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2023-03-24 10:26:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-24 13:27:35 +0100 |
commit | 0a392354dbc3ff748e0856a75592fe8d0fdc7674 (patch) | |
tree | 6c48660b03ede1370d869cc7445dfd4b257a4a0f /drivers/usb/isp1760 | |
parent | USB: mark all struct bus_type as const (diff) | |
download | linux-0a392354dbc3ff748e0856a75592fe8d0fdc7674.tar.xz linux-0a392354dbc3ff748e0856a75592fe8d0fdc7674.zip |
device property: constify fwnode_get_phy_mode() argument
fwnode_get_phy_mode() does not modify the fwnode argument, merely
using it to obtain the phy-mode property value. Therefore, it can
be made const.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/E1pfdh9-00EQ8t-HB@rmk-PC.armlinux.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/isp1760')
0 files changed, 0 insertions, 0 deletions