]> git.karo-electronics.de Git - linux-beck.git/commit
staging: vc04_services: fix setup_timer.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Fri, 11 Nov 2016 08:10:20 +0000 (16:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Nov 2016 14:38:41 +0000 (15:38 +0100)
commit53a6e71fdf242bebea0bcb692a86956aa88df706
tree854d1d12a4f07493151c70cf0d097174d60069d1
parentce0347c2b089eb6ad6c14ab628a0ba5eb42f1492
staging: vc04_services: fix setup_timer.cocci warnings

drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:1817:2-12: Use setup_timer function for function on line 1818.

 Use setup_timer function instead of initializing timer with the function
 and data fields
Generated by: scripts/coccinelle/api/setup_timer.cocci

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c