summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/aspeed-pwm-tacho.c
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@gmail.com>2017-05-06 17:42:17 +0200
committerMark Brown <broonie@kernel.org>2017-05-14 11:38:05 +0200
commitf7929436a286ca31f0365a7013de968017f76818 (patch)
tree733b28a7545d4eeca008057b5ed2fb2b1faeb34f /drivers/hwmon/aspeed-pwm-tacho.c
parentspi: spidev: remove unused completion (diff)
downloadlinux-f7929436a286ca31f0365a7013de968017f76818.tar.xz
linux-f7929436a286ca31f0365a7013de968017f76818.zip
spi: spidev: use memdup_user
Use memdup_user() helper instead of open-coding to simplify the code. Signed-off-by: Geliang Tang <geliangtang@gmail.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/hwmon/aspeed-pwm-tacho.c')
0 files changed, 0 insertions, 0 deletions