aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-04-19 13:34:29 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-22 17:13:54 +0200
commit1e8ee51212b4876f1a8ca4b78d2499e2fc442cf3 (patch)
tree7172b6c12386e18f24f231fe7fde67539f6342e8 /drivers/spi/spi.c
parentPCI: Use driver_set_override() instead of open-coding (diff)
downloadlinux-dev-1e8ee51212b4876f1a8ca4b78d2499e2fc442cf3.tar.xz
linux-dev-1e8ee51212b4876f1a8ca4b78d2499e2fc442cf3.zip
s390/cio: Use driver_set_override() instead of open-coding
Use a helper to set driver_override to the reduce amount of duplicated code. Make the driver_override field const char, because it is not modified by the core and it matches other subsystems. Acked-by: Vineeth Vijayan <vneethv@linux.ibm.com> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220419113435.246203-7-krzysztof.kozlowski@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/spi/spi.c')
0 files changed, 0 insertions, 0 deletions