commit | aed74ea0a09d2e60e4b3fe45caf30f6365b6c9f3 | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@gmail.com> | Sat May 06 23:40:20 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue May 09 12:16:25 2017 -0700 |
tree | 94adc10e5fff05f03d65eafc4874b96fd30f83de | |
parent | 8c64415cc1f5794c02b95dee10084fa8a4ee3cfe [diff] |
sparc: use memdup_user_nul in sun4m LED driver Use memdup_user_nul() helper instead of open-coding to simplify the code. Signed-off-by: Geliang Tang <geliangtang@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>