]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
CRIS v10: Cleanup of drivers/gpio.c
authorJesper Nilsson <jesper.nilsson@axis.com>
Wed, 6 Feb 2008 13:52:40 +0000 (14:52 +0100)
committerJesper Nilsson <jesper.nilsson@axis.com>
Fri, 8 Feb 2008 10:16:45 +0000 (11:16 +0100)
commitad433f2368c37a64d119a997a0530cc28b9a5566
tree6bd274f8e7fdc867e393bd145b3cee4cf923a674
parent5efa1d1c940f07e79469e20db2b7a73c44180e82
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.
arch/cris/arch-v10/drivers/gpio.c