Skip to content
Commit aed74ea0 authored by Geliang Tang's avatar Geliang Tang Committed by David S. Miller
Browse files

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: default avatarGeliang Tang <geliangtang@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8c64415c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment