aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAlexandru Ardelean <[email protected]>2020-11-19 16:27:20 +0200
committerJonathan Cameron <[email protected]>2020-11-21 15:15:28 +0000
commit24da9627e674305187a9908b328ffabcca65e2b5 (patch)
tree9923b4b3f24b85708cd630c50efd76daef16a7b2 /scripts/gdb/linux/utils.py
parent39996252f6af8f887516bb5f80223df26cb8c904 (diff)
iio: adc: ad7292: remove unneeded spi_set_drvdata()
This seems to have been copied from a driver that calls spi_set_drvdata() but doesn't call spi_get_drvdata(). Setting a private object on the SPI device's object isn't necessary if it won't be accessed. This change removes the spi_set_drvdata() call. Signed-off-by: Alexandru Ardelean <[email protected]> Tested-by: Marcelo Schmitt <[email protected]> Reviewed-by: Marcelo Schmitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions