summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/devicetree.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-10-30 16:54:32 +0100
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-11-13 12:56:42 +0100
commit6217728b38580bd3a4c6db6f65359f93c52f5901 (patch)
tree24b19d70fb9d6edab84a3159c98a0ad19d88cfa7 /drivers/pinctrl/devicetree.c
parentpinctrl: tangier: Move default strength assignment to a switch-case (diff)
downloadlinux-6217728b38580bd3a4c6db6f65359f93c52f5901.tar.xz
linux-6217728b38580bd3a4c6db6f65359f93c52f5901.zip
pinctrl: intel: Move default strength assignment to a switch-case
iWhen ->pin_config_set() is called from the GPIO library (assumed GpioIo() ACPI resource), the argument can be 1, when, for example, PullDefault is provided. In such case we supply sane default in the driver. Move that default assingment to a switch-case, so it will be consolidated in one place. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/pinctrl/devicetree.c')
0 files changed, 0 insertions, 0 deletions