drivers/leds: Replace __get_cpu_var use through this_cpu_ptr
authorChristoph Lameter <cl@linux.com>
Mon, 5 May 2014 16:48:38 +0000 (09:48 -0700)
committerBryan Wu <cooloney@gmail.com>
Thu, 8 May 2014 06:28:08 +0000 (14:28 +0800)
commit24c9301ffd21356bcd865a5155a501e5059c4c6f
treef9439993698f72afe96b56e06cb97cd5b13a95e6
parent9ef8c877e4ffca969fb2f1260ee133b12b563c2c
drivers/leds: Replace __get_cpu_var use through this_cpu_ptr

Use this_cpu_ptr for the address calculation instead of __get_cpu_var.

Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/trigger/ledtrig-cpu.c