diff options
author | Geliang Tang <geliangtang@gmail.com> | 2017-05-06 17:42:17 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-05-14 11:38:05 +0200 |
commit | f7929436a286ca31f0365a7013de968017f76818 (patch) | |
tree | 733b28a7545d4eeca008057b5ed2fb2b1faeb34f /drivers/hwmon/aspeed-pwm-tacho.c | |
parent | spi: spidev: remove unused completion (diff) | |
download | linux-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