platform/upstream/kernel-adaptation-pc.git
12 years agostaging/vt6656: cleanup coding style in vResetCommandTimer
Devendra Naga [Fri, 13 Jul 2012 20:22:18 +0000 (02:07 +0545)]
staging/vt6656: cleanup coding style in vResetCommandTimer

the following fixes...

removed spaces at start of a line and used tabs

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging/vt6656: remove unnecessary return in BSSvSecondTxData
Devendra Naga [Fri, 13 Jul 2012 20:21:52 +0000 (02:06 +0545)]
staging/vt6656: remove unnecessary return in BSSvSecondTxData

this return is at the function end, and function is returning nothing..
i.e a void.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging/vt6656: coding style fix in BSSvSecondTxData
Devendra Naga [Fri, 13 Jul 2012 20:21:07 +0000 (02:06 +0545)]
staging/vt6656: coding style fix in BSSvSecondTxData

this function seemed bit more coding style fix...

The following fixes:

remove spaces at start of line and use tabs
use space between if and (
give a space in a multiplication operation
use space after = and another variable/constant

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: wlags49_h2: remove vi modelines
Paul Bolle [Fri, 13 Jul 2012 12:03:42 +0000 (14:03 +0200)]
staging: wlags49_h2: remove vi modelines

Opening drivers/staging/wlags49_h2/dhf.h with vim triggered this
warning:
"drivers/staging/wlags49_h2/dhf.h" 226L, 8428C
Error detected while processing modelines:
line    2:
E518: Unknown option: */
Press ENTER or type command to continue

Since the Linux kernel coding style disallows modelines this invalid
modeline can simply be removed. And since we're touching this file we
might as well remove all vim modelines from this driver.

vim tested only.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: ipack/devices/ipoctal: initialize the device in probe function
Samuel Iglesias Gonsálvez [Fri, 13 Jul 2012 11:33:14 +0000 (13:33 +0200)]
Staging: ipack/devices/ipoctal: initialize the device in probe function

Initialize the device when registering it. Sometimes the user access to it
and the device is in an unknown state, so it could fail.

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: ipack/devices/ipoctal: fix dereference NULL pointer
Samuel Iglesias Gonsálvez [Fri, 13 Jul 2012 11:33:13 +0000 (13:33 +0200)]
Staging: ipack/devices/ipoctal: fix dereference NULL pointer

After opening and closing the file /dev/ipoctal.X.Y.Z for the second time, it
gives a kernel oops due to a dereference of a NULL pointer.

The problem was that tty->driver_data was not properly initialized when
accessing the file for the second time.

Reported-by: Alberto Garcia Gonzalez <agarcia@igalia.com>
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: dt282x: remove the outw wrapper macros
H Hartley Sweeten [Fri, 13 Jul 2012 00:46:37 +0000 (17:46 -0700)]
staging: comedi: dt282x: remove the outw wrapper macros

The macros 'update_dacsr', 'update_adcsr', and 'update_supcsr' all use
the 'devpriv' macro which uses a local variable of a specific name and
yeilds a pointer derived from that name. They are also just wrappers
around simple 'outw' calls. Remove the macros.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: ft1000-usb: Fix various checkpach warnings in ft1000_usb.h
Marek Belisko [Thu, 12 Jul 2012 21:50:50 +0000 (23:50 +0200)]
staging: ft1000-usb: Fix various checkpach warnings in ft1000_usb.h

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: ft1000-usb: Replace all C99 comments with regular in ft1000_usb.h.
Marek Belisko [Thu, 12 Jul 2012 21:50:49 +0000 (23:50 +0200)]
staging: ft1000-usb: Replace all C99 comments with regular in ft1000_usb.h.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: ft1000-usb: Fix lines over 80 chars.
Marek Belisko [Thu, 12 Jul 2012 21:50:48 +0000 (23:50 +0200)]
staging: ft1000-usb: Fix lines over 80 chars.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: ft1000-usb: Remove name comments from ft1000_usb.h.
Marek Belisko [Thu, 12 Jul 2012 21:50:47 +0000 (23:50 +0200)]
staging: ft1000-usb: Remove name comments from ft1000_usb.h.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: ft1000-usb: Remove spaces from struct dpram_blk.
Marek Belisko [Thu, 12 Jul 2012 21:50:46 +0000 (23:50 +0200)]
staging: ft1000-usb: Remove spaces from struct dpram_blk.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: ft1000-usb: Remove leading spaces from struct ft1000_info.
Marek Belisko [Thu, 12 Jul 2012 21:50:45 +0000 (23:50 +0200)]
staging: ft1000-usb: Remove leading spaces from struct ft1000_info.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: ft1000-usb: Remove commented lines from ft1000_device.
Marek Belisko [Thu, 12 Jul 2012 21:50:44 +0000 (23:50 +0200)]
staging: ft1000-usb: Remove commented lines from ft1000_device.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: ft1000-usb: Change KERN_ERROR usage to pr_err in ft1000_usb.c.
Marek Belisko [Thu, 12 Jul 2012 21:50:43 +0000 (23:50 +0200)]
staging: ft1000-usb: Change KERN_ERROR usage to pr_err in ft1000_usb.c.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: omap-thermal: add OMAP5 data structures
Eduardo Valentin [Thu, 12 Jul 2012 16:02:32 +0000 (19:02 +0300)]
staging: omap-thermal: add OMAP5 data structures

This patch adds the data structures needed for proper registration
of OMAP5 chips. This patch includes definitions for these chip versions:
. OMAP5430

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: omap-thermal: add OMAP4 data structures
Eduardo Valentin [Thu, 12 Jul 2012 16:02:31 +0000 (19:02 +0300)]
staging: omap-thermal: add OMAP4 data structures

This patch adds the data structures needed for proper registration
of OMAP4 chips. This patch includes definitions for these chip versions:
. OMAP4430
. OMAP4460
. OMAP4470

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: omap-thermal: common code to expose driver to thermal framework
Eduardo Valentin [Thu, 12 Jul 2012 16:02:30 +0000 (19:02 +0300)]
staging: omap-thermal: common code to expose driver to thermal framework

This patch has the common thermal framework support for OMAP
bandgap driver. It includes the zone registration and unregistration,
the cpu cooling and the trip definitions.

The trips definition is essentially one trip for passive cooling
using the generic cpu cooling device and another one for thermal
shutdown. The cpu cooling device is built based on the existing
cpu freq table. The build should be agnostic to omap version,
but relies that cpufreq is up and running by the time the driver
registers the cpu cooling, as it relies on the table walk api
from cpufreq.

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: OMAP4+: thermal: introduce bandgap temperature sensor
Eduardo Valentin [Thu, 12 Jul 2012 16:02:29 +0000 (19:02 +0300)]
staging: OMAP4+: thermal: introduce bandgap temperature sensor

In the System Control Module, OMAP supplies a voltage reference
and a temperature sensor feature that are gathered in the band
gap voltage and temperature sensor (VBGAPTS) module. The band
gap provides current and voltage reference for its internal
circuits and other analog IP blocks. The analog-to-digital
converter (ADC) produces an output value that is proportional
to the silicon temperature.

This patch provides a platform driver which expose this feature.
It is moduled as a MFD child of the System Control Module core
MFD driver.

This driver provides only APIs to access the device properties,
like temperature, thresholds and update rate.

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: J Keerthy <j-keerthy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: panel: Use pr_info(...) rather than printk(KERN_INFO
Toshiaki Yamane [Thu, 12 Jul 2012 13:01:00 +0000 (22:01 +0900)]
staging: panel: Use pr_info(...) rather than printk(KERN_INFO

-Added pr_fmt.
-Converted printk(KERN_INFO to pr_info
-Removed embedded message prefixes.

Signed-off-by: Toshiaki Yamane <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: panel: Use pr_err(...) rather than printk(KERN_ERR ...)
Toshiaki Yamane [Thu, 12 Jul 2012 13:01:17 +0000 (22:01 +0900)]
staging: panel: Use pr_err(...) rather than printk(KERN_ERR ...)

-Removed unnecessary OOM messages.
-Removed embedded message prefixes.
-Added __func__ to some pr_err messages.
-Converted printk(KERN_ERR to pr_err
-Refactored split printk strings onto a single line
-Removed the space before the '!'.

Signed-off-by: Toshiaki Yamane <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: panel: Remove printk(KERN_DEBUG ...) located in the #if 0 block
Toshiaki Yamane [Thu, 12 Jul 2012 13:00:33 +0000 (22:00 +0900)]
staging: panel: Remove printk(KERN_DEBUG ...) located in the #if 0 block

Deleted #if 0 blocks

Signed-off-by: Toshiaki Yamane <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging/sm7xxfb: select sm7xxfb only when CONFIG_PCI is enabled
Devendra Naga [Thu, 12 Jul 2012 08:58:21 +0000 (14:43 +0545)]
staging/sm7xxfb: select sm7xxfb only when CONFIG_PCI is enabled

the sm7xxfb is a pci device, and should depend on the PCI.
And also if we wont' depend on the PCI sub-system, the following warns
will be triggered,

drivers/staging/sm7xxfb/sm7xxfb.c:1061:1: warning: data definition has no type or storage class [enabled by default]
drivers/staging/sm7xxfb/sm7xxfb.c:1061:1: warning: type defaults to 'int' in declaration of 'module_pci_driver' [-Wimplicit-int]
drivers/staging/sm7xxfb/sm7xxfb.c:1061:1: warning: parameter names (without types) in function declaration [enabled by default]

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Teddy Wang <teddy.wang@siliconmotion.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging/gdm72xx: coding style fixes gdm_qos.c
Devendra Naga [Thu, 12 Jul 2012 06:14:22 +0000 (11:59 +0545)]
staging/gdm72xx: coding style fixes gdm_qos.c

following warnings were fixed

drivers/staging/gdm72xx/gdm_qos.c:198: ERROR: "foo* bar" should be "foo *bar"
drivers/staging/gdm72xx/gdm_qos.c:198: ERROR: "foo* bar" should be "foo *bar"
drivers/staging/gdm72xx/gdm_qos.c:244: WARNING: quoted string split across lines

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging/gdm72xx: use kzalloc for phydev and sdev
Devendra Naga [Thu, 12 Jul 2012 06:13:37 +0000 (11:58 +0545)]
staging/gdm72xx: use kzalloc for phydev and sdev

in sdio probe function we are doing kmalloc which can be done using kzalloc.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging/gdm72xx: cleanup little at gdm_wimax_event_rcv
Devendra Naga [Thu, 12 Jul 2012 06:12:25 +0000 (11:57 +0545)]
staging/gdm72xx: cleanup little at gdm_wimax_event_rcv

the event sock check is done at the netlink_init itself.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging/gdm72xx: use kzalloc for phydev and udev
Devendra Naga [Thu, 12 Jul 2012 06:11:54 +0000 (11:56 +0545)]
staging/gdm72xx: use kzalloc for phydev and udev

we are doing kmalloc and memset, can be done using kzalloc itself.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging/gdm72xx: return PTR_ERR rather -ENOENT
Devendra Naga [Thu, 12 Jul 2012 06:11:11 +0000 (11:56 +0545)]
staging/gdm72xx: return PTR_ERR rather -ENOENT

return the error of filp_open rather returning -ENOENT.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging/et131x: use SET_ETHTOOL_OPS directly
Devendra Naga [Thu, 12 Jul 2012 06:08:17 +0000 (11:53 +0545)]
staging/et131x: use SET_ETHTOOL_OPS directly

using a wrapper around SET_ETHTOOL_OPS macro is not actually required,

remove and use SET_ETHTOOL_OPS directly.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: sm7xxfb: cleanup on smtc_alloc_fb_info
Javier M. Mellid [Wed, 11 Jul 2012 13:49:41 +0000 (15:49 +0200)]
staging: sm7xxfb: cleanup on smtc_alloc_fb_info

This patch improves coding style on smtc_alloc_fb_info.

Tested with SM712.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: sm7xxfb: move pseudo palette into smtcfb_info
Javier M. Mellid [Wed, 11 Jul 2012 13:49:40 +0000 (15:49 +0200)]
staging: sm7xxfb: move pseudo palette into smtcfb_info

This patch moves pseudo palette into smtcfb_info struct.

Tested with SM712.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: sm7xxfb: minor maintenance on timing path
Javier M. Mellid [Wed, 11 Jul 2012 13:49:39 +0000 (15:49 +0200)]
staging: sm7xxfb: minor maintenance on timing path

This patch keeps smtc_set_timing and sm7xx_set_timing functions closed
to smtcfb_setmode. This change eases reviewing and maintaining this
logic path.

Tested with SM712.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: sm7xxfb: rename sm712_set_timing to sm7xx_set_timing
Javier M. Mellid [Wed, 11 Jul 2012 13:49:38 +0000 (15:49 +0200)]
staging: sm7xxfb: rename sm712_set_timing to sm7xx_set_timing

sm712_set_timing handles timing for 0x710, 0x712 and 0x720 chips. This
patch renames the name of the function of sm712_set_timing to
sm7xx_set_timing.

Tested with SM712.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: sm7xxfb: minor maintenance on sm7xx_vga_setup
Javier M. Mellid [Wed, 11 Jul 2012 13:49:37 +0000 (15:49 +0200)]
staging: sm7xxfb: minor maintenance on sm7xx_vga_setup

This patch keeps code related to sm7xx_vga_setup closed. It is useful to
understand/maintain the logic behind sm7xx_vga_setup with a simple look.

Tested with SM712.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: sm7xxfb: rename sm712vga_setup to sm7xx_vga_setup
Javier M. Mellid [Wed, 11 Jul 2012 13:49:36 +0000 (15:49 +0200)]
staging: sm7xxfb: rename sm712vga_setup to sm7xx_vga_setup

This patch renames sm712vga_setup to sm7xx_vga_setup. sm7xx_vga_setup
process command line options in order to get the vga parameter. This
parameter will be the lookup index to match the right vesa mode. It is
chip independent.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: sm7xxfb: rename smtc_screen_info to smtc_scr_info
Javier M. Mellid [Wed, 11 Jul 2012 13:49:35 +0000 (15:49 +0200)]
staging: sm7xxfb: rename smtc_screen_info to smtc_scr_info

This change of name improves readability on sm712_vga_setup and
smtcfb_pci_probe. It is coherent with the name of vars being used on
code while avoiding the use of extra long lines in functions.

Tested with SM712.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: sm7xxfb: rename index var on sm712vga_setup
Javier M. Mellid [Wed, 11 Jul 2012 13:49:34 +0000 (15:49 +0200)]
staging: sm7xxfb: rename index var on sm712vga_setup

This patchs renames index var on sm712vga_setup.

Tested with SM712.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: sm7xxfb: fix struct names related to vesa modes
Javier M. Mellid [Wed, 11 Jul 2012 13:49:33 +0000 (15:49 +0200)]
staging: sm7xxfb: fix struct names related to vesa modes

This patch renames structs related to vesa modes in order to get more
readable code on sm712vga_setup.

Tested with SM712.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: add a few comments
Ian Abbott [Wed, 11 Jul 2012 12:28:19 +0000 (13:28 +0100)]
staging: comedi: rtd520: add a few comments

H Hartley Sweeten's recent series of patches to clean up the rtd520
driver made some of the register accesses harder to understand.  Add a
few comments to provide some clues to the reader.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: cleanup the boardinfo
H Hartley Sweeten [Wed, 11 Jul 2012 00:26:37 +0000 (17:26 -0700)]
staging: comedi: rtd520: cleanup the boardinfo

Remove a couple unnecessary comments. For aesthetic reasons, add
some whitespace to the boardinfo to improve readability.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: cleanup the range tables
H Hartley Sweeten [Wed, 11 Jul 2012 00:26:04 +0000 (17:26 -0700)]
staging: comedi: rtd520: cleanup the range tables

Change the whitespace of the range tables to avoid the > 80
character lines and the ugly line breaks. Convert a couple of
the RANGE() values into the appropriate {UNI,BIP}_RANGE().

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: cleanup the "find pci device" code
H Hartley Sweeten [Wed, 11 Jul 2012 00:25:33 +0000 (17:25 -0700)]
staging: comedi: rtd520: cleanup the "find pci device" code

Use for_each_pci_dev() instead of open-coding the for loop. Create
local variables for the bus and slot options as well as the thisboard
pointer in order to clarify the code. Consolidate the printk's when
a supported board is not found into one dev_warn message.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: factor out the "find pci device" code
H Hartley Sweeten [Wed, 11 Jul 2012 00:24:52 +0000 (17:24 -0700)]
staging: comedi: rtd520: factor out the "find pci device" code

Factor the "find pci device" code out of the attach function.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove thisboard macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:24:10 +0000 (17:24 -0700)]
staging: comedi: rtd520: remove thisboard macro

The macro 'thisboard' relies on a local variable having a specific
name and yeilds a pointer derived from that local variable. Replace
the macro with a local variable where used and use the comedi_board()
helper to get the pointer.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove devpriv macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:23:40 +0000 (17:23 -0700)]
staging: comedi: rtd520: remove devpriv macro

The macro 'devpriv' relies on a local variable having a specific
name and yeilds a pointer derived from that local variable. Replace
the macro with a local variable where used.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDma1Status macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:23:13 +0000 (17:23 -0700)]
staging: comedi: rtd520: remove RtdDma1Status macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDma1Control macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:22:46 +0000 (17:22 -0700)]
staging: comedi: rtd520: remove RtdDma1Control macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writeb'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDma0Status macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:22:15 +0000 (17:22 -0700)]
staging: comedi: rtd520: remove RtdDma0Status macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDma0Control macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:21:45 +0000 (17:21 -0700)]
staging: comedi: rtd520: remove RtdDma0Control macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writeb'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDma1Next macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:21:15 +0000 (17:21 -0700)]
staging: comedi: rtd520: remove RtdDma1Next macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDma1Count macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:20:47 +0000 (17:20 -0700)]
staging: comedi: rtd520: remove RtdDma1Count macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDma1LocalAddr macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:20:19 +0000 (17:20 -0700)]
staging: comedi: rtd520: remove RtdDma1LocalAddr macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDma1PciAddr macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:19:49 +0000 (17:19 -0700)]
staging: comedi: rtd520: remove RtdDma1PciAddr macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDma1Mode macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:19:17 +0000 (17:19 -0700)]
staging: comedi: rtd520: remove RtdDma1Mode macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDma0Next macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:18:48 +0000 (17:18 -0700)]
staging: comedi: rtd520: remove RtdDma0Next macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writel'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDma0Count macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:17:45 +0000 (17:17 -0700)]
staging: comedi: rtd520: remove RtdDma0Count macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDma0LocalAddr macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:15:28 +0000 (17:15 -0700)]
staging: comedi: rtd520: remove RtdDma0LocalAddr macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDma0PciAddr macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:14:55 +0000 (17:14 -0700)]
staging: comedi: rtd520: remove RtdDma0PciAddr macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDma0Mode macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:14:25 +0000 (17:14 -0700)]
staging: comedi: rtd520: remove RtdDma0Mode macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writel'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdPlxInterruptWrite macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:13:54 +0000 (17:13 -0700)]
staging: comedi: rtd520: remove RtdPlxInterruptWrite macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writel'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdPlxInterruptRead macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:13:21 +0000 (17:13 -0700)]
staging: comedi: rtd520: remove RtdPlxInterruptRead macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'readl'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDma1Reset macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:12:49 +0000 (17:12 -0700)]
staging: comedi: rtd520: remove RtdDma1Reset macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDma0Reset macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:12:22 +0000 (17:12 -0700)]
staging: comedi: rtd520: remove RtdDma0Reset macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writel'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDma1Source macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:11:55 +0000 (17:11 -0700)]
staging: comedi: rtd520: remove RtdDma1Source macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDma0Source macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:11:29 +0000 (17:11 -0700)]
staging: comedi: rtd520: remove RtdDma0Source macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writel'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDacClearFifo macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:11:01 +0000 (17:11 -0700)]
staging: comedi: rtd520: remove RtdDacClearFifo macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writel'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDacRange macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:10:27 +0000 (17:10 -0700)]
staging: comedi: rtd520: remove RtdDacRange macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writew'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDacBothUpdate macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:09:59 +0000 (17:09 -0700)]
staging: comedi: rtd520: remove RtdDacBothUpdate macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDacUpdate macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:09:31 +0000 (17:09 -0700)]
staging: comedi: rtd520: remove RtdDacUpdate macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writew'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDacFifoPut macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:08:59 +0000 (17:08 -0700)]
staging: comedi: rtd520: remove RtdDacFifoPut macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writew'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDio0CtrlWrite macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:08:29 +0000 (17:08 -0700)]
staging: comedi: rtd520: remove RtdDio0CtrlWrite macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writew'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDio0CtrlRead macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:07:59 +0000 (17:07 -0700)]
staging: comedi: rtd520: remove RtdDio0CtrlRead macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDioStatusWrite macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:07:23 +0000 (17:07 -0700)]
staging: comedi: rtd520: remove RtdDioStatusWrite macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writew'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDioStatusRead macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:06:50 +0000 (17:06 -0700)]
staging: comedi: rtd520: remove RtdDioStatusRead macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDio1Write macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:06:22 +0000 (17:06 -0700)]
staging: comedi: rtd520: remove RtdDio1Write macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDio1Read macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:05:55 +0000 (17:05 -0700)]
staging: comedi: rtd520: remove RtdDio1Read macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDio0Write macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:05:27 +0000 (17:05 -0700)]
staging: comedi: rtd520: remove RtdDio0Write macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writew'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDio0Read macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:04:58 +0000 (17:04 -0700)]
staging: comedi: rtd520: remove RtdDio0Read macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'readw'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdUsrOutSource macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:04:05 +0000 (17:04 -0700)]
staging: comedi: rtd520: remove RtdUsrOutSource macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdUtcGateSource macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:03:32 +0000 (17:03 -0700)]
staging: comedi: rtd520: remove RtdUtcGateSource macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdUtcClockSource macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:02:58 +0000 (17:02 -0700)]
staging: comedi: rtd520: remove RtdUtcClockSource macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdUtcCtrlPut macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:02:27 +0000 (17:02 -0700)]
staging: comedi: rtd520: remove RtdUtcCtrlPut macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writeb'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdUtcCounterPut macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:01:47 +0000 (17:01 -0700)]
staging: comedi: rtd520: remove RtdUtcCounterPut macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdUtcCounterGet macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:01:17 +0000 (17:01 -0700)]
staging: comedi: rtd520: remove RtdUtcCounterGet macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdAdcSampleCounter macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:00:49 +0000 (17:00 -0700)]
staging: comedi: rtd520: remove RtdAdcSampleCounter macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdAdcSampleCount macro
H Hartley Sweeten [Wed, 11 Jul 2012 00:00:20 +0000 (17:00 -0700)]
staging: comedi: rtd520: remove RtdAdcSampleCount macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdAboutCounter macro
H Hartley Sweeten [Tue, 10 Jul 2012 23:59:46 +0000 (16:59 -0700)]
staging: comedi: rtd520: remove RtdAboutCounter macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writel'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdAboutCount macro
H Hartley Sweeten [Tue, 10 Jul 2012 23:59:16 +0000 (16:59 -0700)]
staging: comedi: rtd520: remove RtdAboutCount macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDelayCounter macro
H Hartley Sweeten [Tue, 10 Jul 2012 23:58:47 +0000 (16:58 -0700)]
staging: comedi: rtd520: remove RtdDelayCounter macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdDelayCount macro
H Hartley Sweeten [Tue, 10 Jul 2012 23:58:19 +0000 (16:58 -0700)]
staging: comedi: rtd520: remove RtdDelayCount macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdBurstCounter macro
H Hartley Sweeten [Tue, 10 Jul 2012 23:57:50 +0000 (16:57 -0700)]
staging: comedi: rtd520: remove RtdBurstCounter macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writel'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdBurstCount macro
H Hartley Sweeten [Tue, 10 Jul 2012 23:57:14 +0000 (16:57 -0700)]
staging: comedi: rtd520: remove RtdBurstCount macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdPacerCounter macro
H Hartley Sweeten [Tue, 10 Jul 2012 23:56:40 +0000 (16:56 -0700)]
staging: comedi: rtd520: remove RtdPacerCounter macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writel'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdPacerCount macro
H Hartley Sweeten [Tue, 10 Jul 2012 23:56:12 +0000 (16:56 -0700)]
staging: comedi: rtd520: remove RtdPacerCount macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdInterruptOverrunClear macro
H Hartley Sweeten [Tue, 10 Jul 2012 23:55:40 +0000 (16:55 -0700)]
staging: comedi: rtd520: remove RtdInterruptOverrunClear macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writel'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdInterruptOverrunStatus macro
H Hartley Sweeten [Tue, 10 Jul 2012 23:55:04 +0000 (16:55 -0700)]
staging: comedi: rtd520: remove RtdInterruptOverrunStatus macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'readl'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdInterruptClearMask macro
H Hartley Sweeten [Tue, 10 Jul 2012 23:54:15 +0000 (16:54 -0700)]
staging: comedi: rtd520: remove RtdInterruptClearMask macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writew'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdInterruptClear macro
H Hartley Sweeten [Tue, 10 Jul 2012 23:53:44 +0000 (16:53 -0700)]
staging: comedi: rtd520: remove RtdInterruptClear macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'readw'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdInterruptMask macro
H Hartley Sweeten [Tue, 10 Jul 2012 23:53:15 +0000 (16:53 -0700)]
staging: comedi: rtd520: remove RtdInterruptMask macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'writew'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtd520: remove RtdInterruptStatus macro
H Hartley Sweeten [Tue, 10 Jul 2012 23:52:45 +0000 (16:52 -0700)]
staging: comedi: rtd520: remove RtdInterruptStatus macro

This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. Plus it's just a wrapper around a simple
'readw'. Remove the macro.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>