GitHub/mt8127/android_kernel_alcatel_ttab.git
12 years agoStaging: ipack: add support for IP-OCTAL mezzanine board
Samuel Iglesias Gonsalvez [Wed, 9 May 2012 13:27:21 +0000 (15:27 +0200)]
Staging: ipack: add support for IP-OCTAL mezzanine board

IP-OCTAL is a 8-channels serial port device. There are several models one per
each standard: RS-232, RS-422, RS-485.

This driver can manage all of them.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: ipack: added support for the TEWS TPCI-200 carrier board
Samuel Iglesias Gonsalvez [Wed, 9 May 2012 13:27:20 +0000 (15:27 +0200)]
Staging: ipack: added support for the TEWS TPCI-200 carrier board

Driver for the carrier board TEWS TPCI-200, a bridge between PCIe bus and
IndustryPack bus.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: IndustryPack bus for the Linux Kernel
Samuel Iglesias Gonsalvez [Wed, 9 May 2012 13:27:19 +0000 (15:27 +0200)]
Staging: IndustryPack bus for the Linux Kernel

Add IndustryPack bus support for the Linux Kernel.

This is a virtual bus that allows to perform all the operations between
carrier and mezzanine boards.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agomei: update MAINTAINERS file
Tomas Winkler [Wed, 9 May 2012 13:39:02 +0000 (16:39 +0300)]
mei: update MAINTAINERS file

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agomei: update Documentation/ioctl/ioctl-number.txt
Tomas Winkler [Wed, 9 May 2012 13:39:01 +0000 (16:39 +0300)]
mei: update Documentation/ioctl/ioctl-number.txt

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agomei: move doc files Documentation/misc-devices/mei
Tomas Winkler [Wed, 9 May 2012 13:39:00 +0000 (16:39 +0300)]
mei: move doc files Documentation/misc-devices/mei

1. move mei.txt, TODO, and the example code under Documentation/misc-devices/mei
2. update the TODO file

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agomei: export mei.h for the user space
Tomas Winkler [Wed, 9 May 2012 13:38:59 +0000 (16:38 +0300)]
mei: export mei.h for the user space

The header exports API for application layer

1. move under include/linux and add to  the export list
2. update include path n the sources
3. update TODO

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agouuid: add uuid.h to exported header list
Tomas Winkler [Wed, 9 May 2012 13:38:58 +0000 (16:38 +0300)]
uuid: add uuid.h to exported header list

uuid is used in mei.h interface

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agomei: pci_probe/remove: use dev_err instead of printk(KERN_ERR
Tomas Winkler [Tue, 8 May 2012 20:04:56 +0000 (23:04 +0300)]
mei: pci_probe/remove: use dev_err instead of printk(KERN_ERR

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agomei: use pr_err instead of printk(KERN_ERR
Tomas Winkler [Tue, 8 May 2012 20:04:55 +0000 (23:04 +0300)]
mei: use pr_err instead of printk(KERN_ERR

pr_ format is more compact and enable utilizing of pr_fmt macro

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: Remove test of is_broadcast with is_multicast
Joe Perches [Tue, 8 May 2012 17:11:56 +0000 (10:11 -0700)]
staging: Remove test of is_broadcast with is_multicast

A broadcast packet is a multicast packet, no need to test twice.

Reorder one defective test in rtl_core of is_multi_ether_addr
before is_broadcast_ether_addr as the is_multi returns true for
broadcast frames.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: line6/pcm.c: Removed trailing whitespace
Johannes Thumshirn [Sat, 5 May 2012 14:31:52 +0000 (16:31 +0200)]
staging: line6/pcm.c: Removed trailing whitespace

Removed a line of only whitespace

Signed-off-by: Johannes Thumshirn <morbidrsa@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: line6/midi.c: Added space between switch and open parenthesis
Johannes Thumshirn [Sat, 5 May 2012 14:31:51 +0000 (16:31 +0200)]
staging: line6/midi.c: Added space between switch and open parenthesis

Added space between switch and open parenthesis to make checkpatch.pl happy

Signed-off-by: Johannes Thumshirn <morbidrsa@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: line6/midibuf.c changed printk(KERN_DEBUG, ... to pr_debug(
Johannes Thumshirn [Sat, 5 May 2012 14:31:50 +0000 (16:31 +0200)]
staging: line6/midibuf.c changed printk(KERN_DEBUG, ... to pr_debug(

Changed printk(KERN_DEBUG, ...) call to pr_debug call in function
void line6_midibuf_status(struct MidiBuffer *this)

Signed-off-by: Johannes Thumshirn <morbidrsa@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: wlags49_h2: Fix spelling Endianess to Endianness in wlags49_h2
Masanari Iida [Sun, 6 May 2012 23:21:59 +0000 (08:21 +0900)]
staging: wlags49_h2: Fix spelling Endianess to Endianness in wlags49_h2

Correct spelling typo "Endianess" to "Endianness" in wlags49_h2.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rtl8712: Fix typos.
Justin P. Mattock [Mon, 7 May 2012 14:38:22 +0000 (07:38 -0700)]
staging: rtl8712: Fix typos.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor sysfs files in comedi_fops.c
H Hartley Sweeten [Wed, 9 May 2012 16:20:08 +0000 (09:20 -0700)]
staging: comedi: refactor sysfs files in comedi_fops.c

Refactor the sysfs attributes and functions to remove
the need for the forward declarations and use the
DEVICE_ATTR macro to define them.

Instead of individually creating sysfs device attribute
files, wrap them in an attribute_group and use the
sysfs_create_group function to create them.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rtf520: las0, las1, and lcfg are void __iomem *
H Hartley Sweeten [Tue, 8 May 2012 23:27:55 +0000 (16:27 -0700)]
staging: comedi: rtf520: las0, las1, and lcfg are void __iomem *

The las0, las1, and lcfg variables in struct rtdPrivate are all
ioremap'ed pci resources and should be void __iomem *
not void *.

This quiets a lot of sparse warings for the writel and readl like:

warning: incorrect type in argument 1 (different address spaces)
   expected void const volatile [noderef] <asn:2>*addr
   got void *<noident>

warning: incorrect type in argument 2 (different address spaces)
   expected void volatile [noderef] <asn:2>*addr
   got void *

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: mite: mite_io_addr and daq_io_addr are void __iomem *
H Hartley Sweeten [Tue, 8 May 2012 23:19:34 +0000 (16:19 -0700)]
staging: comedi: mite: mite_io_addr and daq_io_addr are void __iomem *

The mite_io_addr and daq_io_addr variables in struct mite_struct
are both ioremap'ed pci resources and should be void __iomem *
not void *.

This quiets a lot of sparse warings for the write[lwb],read[lwb]
calls in the comedi mite drives like:

warning: incorrect type in argument 1 (different address spaces)
   expected void const volatile [noderef] <asn:2>*addr
   got void *<noident>

warning: incorrect type in argument 2 (different address spaces)
   expected void volatile [noderef] <asn:2>*addr
   got void *

It also exposed some warnings in the mite ni_660x driver where
the daq_io_address was getting cast as a void *const.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: rename addi CamelCase function pointers
H Hartley Sweeten [Mon, 7 May 2012 19:14:22 +0000 (12:14 -0700)]
staging: comedi: rename addi CamelCase function pointers

Rename the CamelCase variable names for the ADDI subdevice
functions. This makes the code a bit cleaner and easier to
follow.

This will also help with converting the struct addi_board
boardtypes array to C99 style initialization to help with
maintaining the code.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor dt2814 driver and use module_comedi_driver
H Hartley Sweeten [Sat, 5 May 2012 00:09:02 +0000 (17:09 -0700)]
staging: comedi: refactor dt2814 driver and use module_comedi_driver

Move the struct comedi_driver to the end of the source and refactor
the code to remove the forward declarations.

Convert the driver to use the module_comedi_driver() macro which
makes the code smaller and a bit simpler.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor dt282x driver to remove forward declarations
H Hartley Sweeten [Sat, 5 May 2012 00:02:38 +0000 (17:02 -0700)]
staging: comedi: refactor dt282x driver to remove forward declarations

Move the struct comedi_driver and variables to the end of the
source. This is more typical of how other drivers are written and
removes the need for the forward declarations.

Convert the driver to use the module_comedi_driver() macro which
makes the code smaller and a bit simpler.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor dt3000 driver to remove forward declarations
H Hartley Sweeten [Fri, 4 May 2012 23:49:45 +0000 (16:49 -0700)]
staging: comedi: refactor dt3000 driver to remove forward declarations

Move the module_init/module_exit routines and the associated
struct comedi_driver and other variables to the end of the source.
This is more typical of how other drivers are written.

Also, refactor a couple of the pci helper functions used during the
attach. The removes the need for the forward declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor dyna_pci10xx driver to remove forward declarations
H Hartley Sweeten [Fri, 4 May 2012 23:31:58 +0000 (16:31 -0700)]
staging: comedi: refactor dyna_pci10xx driver to remove forward declarations

Move the struct comedi_driver and associated variables to the
end of the source. This is more typical of how other drivers are
written and removes the need for the forward declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor the icp_multi driver to remove forward declarations
H Hartley Sweeten [Fri, 4 May 2012 23:19:26 +0000 (16:19 -0700)]
staging: comedi: refactor the icp_multi driver to remove forward declarations

Move the setup_channel_list function forward in the souce and the
struct comedi_driver and associated variables to the end of the
source. This is more typical of how other drivers are written and
removes the need for the forward declarations.

Remove the unnecessary comments for the attach/detach functions.

Change the initialization of struct boardtype to c99 syntax and
remove the comments.

Convert the driver to use the module_comedi_driver() macro which
makes the code smaller and a bit simpler.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor jr3_pci driver to remove forward declarations
H Hartley Sweeten [Fri, 4 May 2012 22:57:24 +0000 (15:57 -0700)]
staging: comedi: refactor jr3_pci driver to remove forward declarations

Move the struct comedi_driver and associated variables to the
end of the source. This is more typical of how other drivers are
written and removes the need for the forward declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor me4000 driver to remove forward declarations
H Hartley Sweeten [Fri, 4 May 2012 22:51:25 +0000 (15:51 -0700)]
staging: comedi: refactor me4000 driver to remove forward declarations

Move the struct comedi_driver, attach/detach functions, and
associated variables to the end of the source. This is more
typical of how other drivers are written and removes the need
for most of the forward declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor me_daq driver to remove forward declarations
H Hartley Sweeten [Fri, 4 May 2012 22:39:55 +0000 (15:39 -0700)]
staging: comedi: refactor me_daq driver to remove forward declarations

Move the module_init/module_exit routines and the associated
struct comedi_driver and other variables to the end of the source.
This is more typical of how other drivers are written and removes
the need for the forward declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor mpc624 driver and use module_comedi_driver
H Hartley Sweeten [Fri, 4 May 2012 22:33:17 +0000 (15:33 -0700)]
staging: comedi: refactor mpc624 driver and use module_comedi_driver

Move the struct comedi_driver and associated attach/detach
routines to the end of the source. This is more typical of how
other drivers are written and removes the need for the forward
declarations.

Convert the driver to use the module_comedi_driver() macro which
makes the code smaller and a bit simpler.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor mpc8260cpm driver and use module_comedi_driver
H Hartley Sweeten [Fri, 4 May 2012 22:26:44 +0000 (15:26 -0700)]
staging: comedi: refactor mpc8260cpm driver and use module_comedi_driver

Move the module_init/module_exit routines and the associated
struct comedi_driver and other variables to the end of the source.
This is more typical of how other drivers are written and removes
the need for the forward declarations.

Convert the driver to use the module_comedi_driver() macro which
makes the code smaller and a bit simpler.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor multiq3 driver and use module_comedi_driver
H Hartley Sweeten [Fri, 4 May 2012 22:19:49 +0000 (15:19 -0700)]
staging: comedi: refactor multiq3 driver and use module_comedi_driver

Move the struct comedi_driver to the end of the source. Convert
the driver to use the module_comedi_driver() macro which makes
the code smaller and a bit simpler.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: partial refactor of s626 driver to remove forward declarations
H Hartley Sweeten [Fri, 4 May 2012 21:37:36 +0000 (14:37 -0700)]
staging: comedi: partial refactor of s626 driver to remove forward declarations

Move the module_init/module_exit routines and the associated
struct comedi_driver and other variables to the end of the source.
This is more typical of how other drivers are written and removes
the need for the forward declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor ssv_dnp driver and use module_comedi_driver
H Hartley Sweeten [Fri, 4 May 2012 21:26:56 +0000 (14:26 -0700)]
staging: comedi: refactor ssv_dnp driver and use module_comedi_driver

Move the module_init/module_exit routines and the associated
struct comedi_driver and other variables to the end of the source.
This is more typical of how other drivers are written and removes
the need for the forward declarations.

Convert the driver to use the module_comedi_driver() macro which
makes the code smaller and a bit simpler.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor unioxx5 driver and use module_comedi_driver
H Hartley Sweeten [Fri, 4 May 2012 18:50:57 +0000 (11:50 -0700)]
staging: comedi: refactor unioxx5 driver and use module_comedi_driver

Move the module_init/module_exit routines and the associated
struct comedi_drive to the end of the source. This is more typical
of how other drivers are written and removes the need for the
forward declarations.

Convert the driver to use the module_comedi_driver() macro which
makes the code smaller and a bit simpler.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: remove debug tracing in vmk80xx driver
H Hartley Sweeten [Fri, 4 May 2012 18:23:54 +0000 (11:23 -0700)]
staging: comedi: remove debug tracing in vmk80xx driver

The vmk80xx driver uses a non-existant Kconfig symbol to enable
function call debug tracing. This output is really just noise
and doesn't serve any useful purpose. Remove all it's uses in
the driver.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: use module_comedi_driver
H Hartley Sweeten [Thu, 3 May 2012 22:09:40 +0000 (15:09 -0700)]
staging: comedi: use module_comedi_driver

Convert the refactored comedi drivers to use the module_comedi_driver()
macro which makes the code smaller and a bit simpler.

In the process, rename the driver variables from driver_* to *_driver,
as is more typical with other subsystems, and make sure they are all
static.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rts5139: Fix typo in rts5139
Masanari Iida [Tue, 8 May 2012 18:06:46 +0000 (03:06 +0900)]
staging: rts5139: Fix typo in rts5139

Correct spelling typo in rts5139

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rts5139: remove unused card_power_off
Oleksij Rempel [Fri, 4 May 2012 15:14:37 +0000 (17:14 +0200)]
staging: rts5139: remove unused card_power_off

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rts5139: remove unused disable_card_clock
Oleksij Rempel [Fri, 4 May 2012 15:14:36 +0000 (17:14 +0200)]
staging: rts5139: remove unused disable_card_clock

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rts5139: make some functions static in rts51x_card.c and rts51x.c
Oleksij Rempel [Fri, 4 May 2012 18:02:46 +0000 (20:02 +0200)]
staging: rts5139: make some functions static in rts51x_card.c and rts51x.c

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rts5139: remove useless rts51x_sys.h
Oleksij Rempel [Fri, 4 May 2012 15:14:34 +0000 (17:14 +0200)]
staging: rts5139: remove useless rts51x_sys.h

and move USING_POLLING_CYCLE_DELINK to rts51x_chip.h

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rts5139: remove unused clear_first_install_mark
Oleksij Rempel [Fri, 4 May 2012 15:14:33 +0000 (17:14 +0200)]
staging: rts5139: remove unused clear_first_install_mark

it also removes rts51x_reset_detected_cards.

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rts5139: remove disabled SCSI_SCAN_DELAY code
Oleksij Rempel [Fri, 4 May 2012 15:14:32 +0000 (17:14 +0200)]
staging: rts5139: remove disabled SCSI_SCAN_DELAY code

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rts5139: remove disabled XD_SPEEDUP code
Oleksij Rempel [Fri, 4 May 2012 15:14:31 +0000 (17:14 +0200)]
staging: rts5139: remove disabled XD_SPEEDUP code

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rts5139: remove disabled SUPPORT_SD_LOCK code.
Oleksij Rempel [Fri, 4 May 2012 15:14:30 +0000 (17:14 +0200)]
staging: rts5139: remove disabled SUPPORT_SD_LOCK code.

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rts5139: remove unused LED_AUTO_BLINK code
Oleksij Rempel [Fri, 4 May 2012 15:14:29 +0000 (17:14 +0200)]
staging: rts5139: remove unused LED_AUTO_BLINK code

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rts5139: remove disabled code in rts51x_fop.*
Oleksij Rempel [Fri, 4 May 2012 15:14:28 +0000 (17:14 +0200)]
staging: rts5139: remove disabled code in rts51x_fop.*

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rts5139: remove disabled code in rts51x_scsi.c
Oleksij Rempel [Fri, 4 May 2012 15:14:27 +0000 (17:14 +0200)]
staging: rts5139: remove disabled code in rts51x_scsi.c

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rts5139: remove disable code in rts51x_transport.c
Oleksij Rempel [Fri, 4 May 2012 15:14:26 +0000 (17:14 +0200)]
staging: rts5139: remove disable code in rts51x_transport.c

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rts5139: remove disabled code in rts51x_chip.c
Oleksij Rempel [Fri, 4 May 2012 15:14:25 +0000 (17:14 +0200)]
staging: rts5139: remove disabled code in rts51x_chip.c

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rts5139: remove useless functions in rts51x_card.c
Oleksij Rempel [Fri, 4 May 2012 15:14:24 +0000 (17:14 +0200)]
staging: rts5139: remove useless functions in rts51x_card.c

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: Comedi adv_pci1710: Fixed indentation
Tomas Melin [Mon, 7 May 2012 19:50:55 +0000 (22:50 +0300)]
Staging: Comedi adv_pci1710: Fixed indentation

Fixed indentation for print messages and code.

Signed-off-by: Tomas Melin <tomas.melin@iki.fi>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: Comedi adv_pci1710: Combined two conditions
Tomas Melin [Mon, 7 May 2012 19:50:24 +0000 (22:50 +0300)]
Staging: Comedi adv_pci1710: Combined two conditions

Combined two if statements making the code cleaner, removing one level
of indentation.

Signed-off-by: Tomas Melin <tomas.melin@iki.fi>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: Comedi adv_pci1710: Cleaned up comments
Tomas Melin [Mon, 7 May 2012 19:49:48 +0000 (22:49 +0300)]
Staging: Comedi adv_pci1710: Cleaned up comments

Removed useless comments and cleaned up text.

Signed-off-by: Tomas Melin <tomas.melin@iki.fi>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: Comedi adv_pci1710: Move check forward
Tomas Melin [Mon, 7 May 2012 19:49:11 +0000 (22:49 +0300)]
Staging: Comedi adv_pci1710: Move check forward

Simplifies function logic by assuming that n_chan >1 if not <=1.
Removes one level of indentation.

Signed-off-by: Tomas Melin <tomas.melin@iki.fi>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: zsmalloc: add/fix function comment
Minchan Kim [Thu, 3 May 2012 06:40:40 +0000 (15:40 +0900)]
staging: zsmalloc: add/fix function comment

Add/fix the comment.

Signed-off-by: Minchan Kim <minchan@kernel.org>
Acked-by: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: zsmalloc: rename zspage_order with zspage_pages
Minchan Kim [Thu, 3 May 2012 06:40:39 +0000 (15:40 +0900)]
staging: zsmalloc: rename zspage_order with zspage_pages

zspage_order defines how many pages are needed to make a zspage.
So _order_ is rather awkward naming. It already deceive Jonathan
- http://lwn.net/Articles/477067/
" For each size, the code calculates an optimum number of pages (up to 16)"

Let's change from _order_ to _pages_ and some function names.

Signed-off-by: Minchan Kim <minchan@kernel.org>
Acked-by: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: ramster: depend on NET for sock_* functions
Sasha Levin [Mon, 7 May 2012 11:02:22 +0000 (13:02 +0200)]
staging: ramster: depend on NET for sock_* functions

Building ramster without NET would cause linkage issue due to missing
sock_*() functions in cluster/tcp.c

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: ramster: Fix typo in zcache-main.c
Masanari Iida [Mon, 7 May 2012 15:26:07 +0000 (00:26 +0900)]
staging: ramster: Fix typo in zcache-main.c

Correct spelling typo in zcache-main.c

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: iio: Fix typo in iio
Masanari Iida [Tue, 8 May 2012 18:18:17 +0000 (03:18 +0900)]
staging: iio: Fix typo in iio

Correct spelling typo in staging/iio

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Acked-by: Michael Hennerich<michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoIIO: industrialio-core: Checking NULL instead of IS_ERR for debugfs_create_dir()
Axel Lin [Thu, 3 May 2012 14:56:58 +0000 (22:56 +0800)]
IIO: industrialio-core: Checking NULL instead of IS_ERR for debugfs_create_dir()

If defined CONFIG_DEBUG_FS, debugfs_create_dir returns NULL on failure.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoIIO: industrialio-core: Use simple_open
Axel Lin [Thu, 3 May 2012 01:50:51 +0000 (09:50 +0800)]
IIO: industrialio-core: Use simple_open

Use simple_open to replace iio_debugfs_open.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoMAINTAINERS: Add maintainers for VME subsystem
Martyn Welch [Thu, 3 May 2012 16:52:36 +0000 (17:52 +0100)]
MAINTAINERS: Add maintainers for VME subsystem

Add Martyn Welch, Manohar Vanga and Greg Kroah-Hartman as maintainers for
the VME subsystem.

Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoVME: Move API documentation to Documentation folder
Martyn Welch [Thu, 3 May 2012 16:36:54 +0000 (17:36 +0100)]
VME: Move API documentation to Documentation folder

The documentation for the VME device driver API is currently in
drivers/vme/vme_api.txt, move this to Documentation/vme_api.txt

Signed-of-by: Martyn Welch <martyn.welch@ge.com>
Acked-by: Rob Landley <rob@landley.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agovme: vme_ca91cx42.c: local functions should not be exposed globally
H Hartley Sweeten [Thu, 3 May 2012 00:12:22 +0000 (17:12 -0700)]
vme: vme_ca91cx42.c: local functions should not be exposed globally

Functions not referenced outside of a source file should be marked
static to prevent them from being exposed globally.

Quiets the sparse warnings:

warning: symbol 'ca91cx42_alloc_consistent' was not declared. Should it be static?
warning: symbol 'ca91cx42_free_consistent' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agovme: vme_tsi148.c: local functions should not be exposed globally
H Hartley Sweeten lin [Thu, 3 May 2012 00:08:38 +0000 (17:08 -0700)]
vme: vme_tsi148.c: local functions should not be exposed globally

Functions not referenced outside of a source file should be marked
static to prevent them from being exposed globally.

Quiets the sparse warnings:

warning: symbol 'tsi148_alloc_consistent' was not declared. Should it be static?
warning: symbol 'tsi148_free_consistent' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: Comedi adv_pci1710 : Corrected over 80 column warnings
Tomas Melin [Wed, 2 May 2012 16:15:17 +0000 (19:15 +0300)]
Staging: Comedi adv_pci1710 : Corrected over 80 column warnings

Indentation problems aswell as various comments and code lines longer
than 80 chars fixed in file adv_pci1710.c

Signed-off-by: Tomas Melin <tomas.melin@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: Add helper macro for comedi_driver boilerplate
H Hartley Sweeten [Wed, 2 May 2012 00:20:04 +0000 (17:20 -0700)]
staging: comedi: Add helper macro for comedi_driver boilerplate

Introduce the module_comedi_driver macro which is a convenience
macro for comedi driver modules similar to module_platform_driver.
It is intended to be used by drivers where the init/exit section
does nothing but register/unregister the comedi driver. By using
this macro it is possible to eliminate a few lines of boilerplate
code per comedi driver.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: iio: call iio_device_unregister() in max517_remove()
Peter Meerwald [Tue, 1 May 2012 23:13:33 +0000 (01:13 +0200)]
staging: iio: call iio_device_unregister() in max517_remove()

Reported-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: fix build errors caused by module_init/module_exit refactor
H Hartley Sweeten [Wed, 2 May 2012 00:03:48 +0000 (17:03 -0700)]
staging: comedi: fix build errors caused by module_init/module_exit refactor

A couple build errors were introduced with the module_init/module_exit
refactor.

The struct comedi_driver variable was being accessed directly in the
attach and detach routines. Instead of doing this, access the variable
indirectly using the driver pointer in struct comedi_device.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoMerge 3.4-rc5 into staging-next
Greg Kroah-Hartman [Wed, 2 May 2012 18:48:07 +0000 (11:48 -0700)]
Merge 3.4-rc5 into staging-next

This resolves the conflict in:
drivers/staging/vt6656/ioctl.c

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: comedi: fix line over 80 character issue in rtd520.c
Ravishankar Karkala Mallikarjunayya [Tue, 1 May 2012 06:25:10 +0000 (11:55 +0530)]
Staging: comedi: fix line over 80 character issue in rtd520.c

This is a patch to the rtd520.c file that fixes up a line
over 80 character warning found by the checkpatch.pl tool.

Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: comedi: Checkpatch cleanups.
Ravishankar Karkala Mallikarjunayya [Tue, 1 May 2012 06:25:09 +0000 (11:55 +0530)]
Staging: comedi: Checkpatch cleanups.

drivers/staging/comedi/drivers/dt9812.c:369: ERROR: "foo * bar" should be "foo *bar"
drivers/staging/comedi/drivers/dt9812.c:369: ERROR: "foo * bar" should be "foo *bar"
drivers/staging/comedi/drivers/dt9812.c:395: ERROR: "foo * bar" should be "foo *bar"
drivers/staging/comedi/drivers/dt9812.c:396: ERROR: "foo * bar" should be "foo *bar"
drivers/staging/comedi/drivers/dt9812.c:434: ERROR: "foo * bar" should be "foo *bar"
drivers/staging/comedi/drivers/dt9812.c:480: ERROR: "foo * bar" should be "foo *bar"
drivers/staging/comedi/drivers/dt9812.c:556: ERROR: "foo * bar" should be "foo *bar"
drivers/staging/comedi/drivers/dt9812.c:623: ERROR: "foo * bar" should be "foo *bar"

Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: comedi: fix line indentation issue in dt9812.c
Ravishankar Karkala Mallikarjunayya [Tue, 1 May 2012 06:25:08 +0000 (11:55 +0530)]
Staging: comedi: fix line indentation issue in dt9812.c

Replaced the spaces with a tab.

Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: comedi: fix printk issue in pcmmio.c
Ravishankar Karkala Mallikarjunayya [Tue, 1 May 2012 06:25:07 +0000 (11:55 +0530)]
Staging: comedi: fix printk issue in pcmmio.c

This is a patch to the pcmmio.c file that fixes up a printk warning
found by the checkpatch.pl tool.

Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: comedi: fix line over 80 character issue in usbduxfast.c
Ravishankar Karkala Mallikarjunayya [Tue, 1 May 2012 06:25:06 +0000 (11:55 +0530)]
Staging: comedi: fix line over 80 character issue in usbduxfast.c

This is a patch to the usbduxfast.c file that fixes up a line
over 80 character warning found by the checkpatch.pl tool.

Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: "rtl8192e/r8192u" typo change ContiuneDiffCount.
Justin P. Mattock [Tue, 1 May 2012 15:34:14 +0000 (08:34 -0700)]
staging: "rtl8192e/r8192u" typo change ContiuneDiffCount.

As mentioned by jesper juhl, we should probably change ContiuneDiffCount
to ContinueDiffCount. Below you will find the changes to do so.  I have
compile tested this and everything builds with the changes, as for
testing on the hardware I am unable to do.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging:rtl8192u Fix typos and comments
Justin P. Mattock [Mon, 30 Apr 2012 21:39:21 +0000 (14:39 -0700)]
staging:rtl8192u Fix typos and comments

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rtl8192u Fix a typo.
Justin P. Mattock [Mon, 30 Apr 2012 20:45:41 +0000 (13:45 -0700)]
staging: rtl8192u Fix a typo.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: et131x: Fix coding style issues
joseph daniel [Mon, 30 Apr 2012 18:30:34 +0000 (00:30 +0600)]
staging: et131x: Fix coding style issues

Signed-off-by: joseph daniel <josephdanielwalter@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: mei: move the mei code out of staging
Greg Kroah-Hartman [Tue, 1 May 2012 22:23:38 +0000 (18:23 -0400)]
Staging: mei: move the mei code out of staging

It's been cleaned up, and there's nothing else left to do, so move it
out of staging into drivers/misc/ where all can use it now.

Cc: Tomas Winkler <tomas.winkler@intel.com>
Cc: Oren Weil <oren.jer.weil@intel.com>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: rtl8192u Fix typos.
Justin P. Mattock [Mon, 30 Apr 2012 14:41:36 +0000 (07:41 -0700)]
staging: rtl8192u Fix typos.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: iio: adc: convert ADI drivers to use kfifo.
Michael Hennerich [Mon, 30 Apr 2012 14:06:12 +0000 (16:06 +0200)]
staging: iio: adc: convert ADI drivers to use kfifo.

sw_ring is depreciated and therefore won't move out of staging.
Prerequisite for lifting affected drivers is to convert them to kfifo.
Update copyright.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: comedi: fix line over 80 character issue in ni_at_a2150.c
Ravishankar Karkala Mallikarjunayya [Thu, 26 Apr 2012 10:02:20 +0000 (15:32 +0530)]
Staging: comedi: fix line over 80 character issue in ni_at_a2150.c

This is a patch to the ni_at_a2150.c file that fixes up a line
over 80 character warning found by the checkpatch.pl tool.

Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: comedi: fix line over 80 character issue in cb_pcimdas.c.
Ravishankar Karkala Mallikarjunayya [Thu, 26 Apr 2012 10:02:19 +0000 (15:32 +0530)]
Staging: comedi: fix line over 80 character issue in cb_pcimdas.c.

This is a patch to the cb_pcimdas.c file that fixes up a line
over 80 character warning found by the checkpatch.pl tool.

Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: comedi: fix line over 80 character issue in daqboard2000.c
Ravishankar Karkala Mallikarjunayya [Thu, 26 Apr 2012 10:02:18 +0000 (15:32 +0530)]
Staging: comedi: fix line over 80 character issue in daqboard2000.c

This is a patch to the daqboard2000.c file that fixes up a
line over 80 character warning found by the checkpatch.pl tool.

Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: comedi: fix line over 80 character issue in cb_pcidda.c
Ravishankar Karkala Mallikarjunayya [Thu, 26 Apr 2012 10:02:17 +0000 (15:32 +0530)]
Staging: comedi: fix line over 80 character issue in cb_pcidda.c

This is a patch to the cb_pcidda.c file that fixes up a line over 80
character warning found by the checkpatch.pl tool

Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoStaging: Comedi adv_pci1710 : Corrected over 80 column warnings
Tomas Melin [Sat, 28 Apr 2012 15:50:46 +0000 (18:50 +0300)]
Staging: Comedi adv_pci1710 : Corrected over 80 column warnings

Various comments and code lines longer than 80 chars fixed in file adv_pci1710.c.

Signed-off-by: Tomas Melin <tomas.melin@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor serial2002 driver to remove forward declarations
H Hartley Sweeten [Fri, 27 Apr 2012 21:36:26 +0000 (14:36 -0700)]
staging: comedi: refactor serial2002 driver to remove forward declarations

Move the module_init/module_exit routines and the associated
struct comedi_driver and other variables to the end of the source.
This is more typical of how other drivers are written and removes
the need for the forward declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor s526 driver to remove forward declarations
H Hartley Sweeten [Fri, 27 Apr 2012 21:45:19 +0000 (14:45 -0700)]
staging: comedi: refactor s526 driver to remove forward declarations

Move the module_init/module_exit routines and the associated
struct comedi_driver and other variables to the end of the source.
This is more typical of how other drivers are written and removes
the need for the forward declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor rti802 driver to remove forward declarations
H Hartley Sweeten [Fri, 27 Apr 2012 21:48:28 +0000 (14:48 -0700)]
staging: comedi: refactor rti802 driver to remove forward declarations

Move the module_init/module_exit routines and the associated
struct comedi_driver and other variables to the end of the source.
This is more typical of how other drivers are written and removes
the need for the forward declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor rti800 driver to remove forward declarations
H Hartley Sweeten [Fri, 27 Apr 2012 21:52:53 +0000 (14:52 -0700)]
staging: comedi: refactor rti800 driver to remove forward declarations

Move the module_init/module_exit routines and the associated
struct comedi_driver and other variables to the end of the source.
This is more typical of how other drivers are written and removes
the need for the forward declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: partial refactor of the rtd520 driver to remove forward declarations
H Hartley Sweeten [Fri, 27 Apr 2012 22:09:49 +0000 (15:09 -0700)]
staging: comedi: partial refactor of the rtd520 driver to remove forward declarations

Move the struct comedi_driver MODULE_DEVICE_TABLE to the end
of the source. The attach and detach functions are not moved yet
because patch is pretty messy and not reviewable. This is more
typical of how other drivers are written and removes the need for
the forward declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor poc driver to remove forward declarations
H Hartley Sweeten [Fri, 27 Apr 2012 22:18:23 +0000 (15:18 -0700)]
staging: comedi: refactor poc driver to remove forward declarations

Move the module_init/module_exit routines and the associated
struct comedi_driver and other variables to the end of the source.
This is more typical of how other drivers are written and removes
the need for the forward declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor pcmuio driver to remove forward declarations
H Hartley Sweeten [Fri, 27 Apr 2012 22:28:57 +0000 (15:28 -0700)]
staging: comedi: refactor pcmuio driver to remove forward declarations

Refactor the switch_page and pcmuio_stop_intr functions to avoid
needing the forward declarations.

Move the module_init/module_exit routines and the associated
struct comedi_driver and other variables to the end of the source.
This is more typical of how other drivers are written and removes
the need for the forward declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor pcmmio driver to remove forward declarations
H Hartley Sweeten [Fri, 27 Apr 2012 22:39:37 +0000 (15:39 -0700)]
staging: comedi: refactor pcmmio driver to remove forward declarations

Refactor the switch_page and pcmmio_stop_intr functions to avoid
needing the forward declarations.

Move the module_init/module_exit routines and the associated
struct comedi_driver and other variables to the end of the source.
This is more typical of how other drivers are written and removes
the need for the forward declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor pcmda12 driver to remove forward declarations
H Hartley Sweeten [Fri, 27 Apr 2012 22:44:02 +0000 (15:44 -0700)]
staging: comedi: refactor pcmda12 driver to remove forward declarations

Move the module_init/module_exit routines and the associated
struct comedi_driver and other variables to the end of the source.
This is more typical of how other drivers are written and removes
the need for the forward declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor pcmad driver to remove forward declarations
H Hartley Sweeten [Fri, 27 Apr 2012 22:48:07 +0000 (15:48 -0700)]
staging: comedi: refactor pcmad driver to remove forward declarations

Move the module_init/module_exit routines and the associated
struct comedi_driver and other variables to the end of the source.
This is more typical of how other drivers are written and removes
the need for the forward declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor pcm3730 driver to remove forward declarations
H Hartley Sweeten [Fri, 27 Apr 2012 22:50:41 +0000 (15:50 -0700)]
staging: comedi: refactor pcm3730 driver to remove forward declarations

Move the module_init/module_exit routines and the associated
struct comedi_driver and other variables to the end of the source.
This is more typical of how other drivers are written and removes
the need for the forward declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agostaging: comedi: refactor pcm3724 driver to remove forward declarations
H Hartley Sweeten [Fri, 27 Apr 2012 22:54:00 +0000 (15:54 -0700)]
staging: comedi: refactor pcm3724 driver to remove forward declarations

Move the module_init/module_exit routines and the associated
struct comedi_driver and other variables to the end of the source.
This is more typical of how other drivers are written and removes
the need for the forward declarations.

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