aboutsummaryrefslogtreecommitdiff
path: root/arch/ppc
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2008-02-06 14:52:40 +0100
committerJesper Nilsson <jesper.nilsson@axis.com>2008-02-08 11:16:45 +0100
commitad433f2368c37a64d119a997a0530cc28b9a5566 (patch)
tree6bd274f8e7fdc867e393bd145b3cee4cf923a674 /arch/ppc
parent5efa1d1c940f07e79469e20db2b7a73c44180e82 (diff)
CRIS v10: Cleanup of drivers/gpio.c
- Change parameters of gpio_write (const char * buf -> const char __user *buf) - Don't initialize static variables to zero. - Remove useless casts from void. - Change name of interrupt routine (gpio_pa_interrupt -> gpio_interrupt) - Use kzmalloc instead of allocating memory and zeroing it manually. - Correct casts for copy_to_user and copy_from_user to (void __user *) - Make file_operations gpio_fops static. - Make ioif_watcher static, not used outside this file.
Diffstat (limited to 'arch/ppc')
0 files changed, 0 insertions, 0 deletions