staging: alarm-dev: Refactor alarm-dev ioctl code in prep for compat_ioctl
authorJohn Stultz <john.stultz@linaro.org>
Fri, 11 Jan 2013 23:46:23 +0000 (15:46 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2013 20:37:11 +0000 (12:37 -0800)
commitcec8bb73a2c603034b04b5d56e16878d0b0ef2dd
tree028e6ad9d43b42ef264e139455026a53a9f38b83
parentbe1a3e38ad7ba682f1a71e61ba16289061627217
staging: alarm-dev: Refactor alarm-dev ioctl code in prep for compat_ioctl

Cleanup the Android alarm-dev driver's ioctl code to refactor it
in preparation for compat_ioctl support.

Cc: Serban Constantinescu <serban.constantinescu@arm.com>
Cc: Arve Hjønnevåg <arve@android.com>
Cc: Colin Cross <ccross@google.com>
Cc: Android Kernel Team <kernel-team@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/alarm-dev.c