From: Jesper Nilsson Date: Wed, 6 Feb 2008 13:52:40 +0000 (+0100) Subject: CRIS v10: Cleanup of drivers/gpio.c X-Git-Tag: v2.6.25-rc1~40^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad433f2368c37a64d119a997a0530cc28b9a5566;p=pandora-kernel.git 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. --- Reading git-diff-tree failed