commit | f7929436a286ca31f0365a7013de968017f76818 | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@gmail.com> | Sat May 06 23:42:17 2017 +0800 |
committer | Mark Brown <broonie@kernel.org> | Sun May 14 18:38:05 2017 +0900 |
tree | 733b28a7545d4eeca008057b5ed2fb2b1faeb34f | |
parent | 76bf569466c68fb3705a3b38cdee026df9861101 [diff] |
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>