linux/arch/cris/arch-v32/drivers
Jesper Nilsson a34d24425e CRIS v32: Rewrite ARTPEC-3 gpio driver to avoid volatiles and general cleanup.
Changes as suggested by Andrew Morton, plus general cleanup to
ease later consolidation of driver into machine common driver.

- Correct parameter type of gpio_write to const char __user *
- Remove volatile from the arrays of machine dependent registers, use
  readl and writel to access them instead.
- Remove useless casts of void.
- Use spin_lock_irqsave for locking.
- Break gpio_write into smaller sub-functions.
- Remove useless breaks after returns.
- Don't perform any change in IO_CFG_WRITE_MODE if values are invalid.
  (previously values were set and then set to zero)
- Change cast for copy_to_user to (void __user *)
- Make file_operations gpio_fops static and const.
- Make setget_output static. (However, it's still inline since the CRIS
  architecture is still not SMP, which makes the function small enough
  to inline)
2008-02-08 16:28:36 +01:00
..
mach-a3 CRIS v32: Rewrite ARTPEC-3 gpio driver to avoid volatiles and general cleanup. 2008-02-08 16:28:36 +01:00
mach-fs CRIS v32: Clean up nandflash.c for ARTPEC-3 and ETRAX FS. 2008-02-08 11:16:45 +01:00
pci arch/cris: add a missing iounmap 2008-02-05 09:44:24 -08:00
axisflashmap.c CRIS v32: Update and improve axisflashmap 2008-02-08 11:06:25 +01:00
cryptocop.c CRIS v32: Rewrite of stream co-processor driver for ETRAX FS and ARTPEC-3 2008-02-08 11:06:33 +01:00
i2c.c CRIS v32: New version of I2C driver. 2008-02-08 11:06:25 +01:00
i2c.h CRIS v32: New version of I2C driver. 2008-02-08 11:06:25 +01:00
iop_fw_load.c CRIS v32: Change include path for hwregs in drivers/iop_fw_load.c 2008-02-08 11:06:33 +01:00
Kconfig CRIS: Move ETRAX_AXISFLASHMAP to common Kconfig file. 2008-02-08 11:08:06 +01:00
Makefile CRIS v32: Remove common gpio and nandflash, add mach-fs and mach-a3 as subdirs. 2008-02-08 11:06:26 +01:00
pcf8563.c CRIS v32: Update driver for RTC chip pcf8563. 2008-02-08 11:06:34 +01:00
sync_serial.c CRIS v32: Remove config ifdef around init function for drivers/sync_serial.c 2008-02-08 11:06:34 +01:00