Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
The name of the pci_driver struct had to be changed in order to prevent
a build failure.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/chelsio/cxgb
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
The name of the pci_driver struct had to be changed in order to prevent
a build failure.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/nvidia
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/fddi/skfp/skfddi.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers/net
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/hippi/rrunner.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers/net
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/sgi/ioc3-eth.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/broadcom/tg3.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/amd/amd8111e.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/sun/sungem.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/broadcom/bnx2.c | 16 +---
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/qlogic/qlge/qlge_main.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/alteon/acenic.c | 15 ++-
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/icplus/ipg.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/toshiba/tc35815.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/sis/sis190.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/dec/tulip/xircom_cb.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/atheros/atlx/atl1.c | 27 ++-
1 file changed, 2 insertions(+), 25 deletions
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 25 +
1 file changed, 1 insertion(+), 24 deletions
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 25 +
1 file changed, 1 insertion(+), 24 deletions
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
This time against net-next and compile tested on x86 with allmodconfig.
Sorry for the broken/duplicated patches yesterday
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/scsi/dc395x.c | 25 +
1 file changed, 1 insertion(+), 24 deletions(-)
diff --git a/drivers
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/scsi/mvumi.c | 21 +
1 file changed, 1 insertion(+), 20 deletions(-)
diff --git a/drivers/scsi
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/scsi/initio.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/scsi
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/scsi/dmx3191d.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/scsi
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/scsi/hpsa.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers/scsi/hpsa.c b
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/scsi/a100u2w.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/scsi
to be changed in order to prevent a
build failure.
Signed-off-by: Peter Huewe
---
Sorry for the build failure.
drivers/uio/uio_pci_generic.c | 17 ++---
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/drivers/uio/uio_pci_generic.c b/drivers/uio/uio_pci_generic.c
index
to be changed in order to prevent a
build failure.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
Sorry for the build failure.
drivers/uio/uio_pci_generic.c | 17 ++---
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/drivers/uio/uio_pci_generic.c b/drivers/uio
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/scsi/a100u2w.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/scsi/hpsa.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/scsi/dmx3191d.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/scsi/initio.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/scsi/mvumi.c | 21 +
1 file changed, 1 insertion(+), 20 deletions(-)
diff
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/scsi/dc395x.c | 25 +
1 file changed, 1 insertion(+), 24 deletions(-)
diff
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
This time against net-next and compile tested on x86 with allmodconfig.
Sorry for the broken/duplicated
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 25 +
1 file changed, 1 insertion
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 25 +
1 file changed, 1 insertion
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/ethernet/atheros/atlx/atl1.c | 27 ++-
1 file changed, 2 insertions
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/ethernet/sis/sis190.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/ethernet/dec/tulip/xircom_cb.c | 14 +-
1 file changed, 1 insertion(+), 13
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/ethernet/toshiba/tc35815.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/ethernet/icplus/ipg.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/ethernet/alteon/acenic.c | 15 ++-
1 file changed, 2 insertions(+), 13 deletions
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/ethernet/broadcom/bnx2.c | 16 +---
1 file changed, 1 insertion(+), 15 deletions
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/ethernet/qlogic/qlge/qlge_main.c | 13 +
1 file changed, 1 insertion(+), 12
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/ethernet/sun/sungem.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/ethernet/amd/amd8111e.c | 13 +
1 file changed, 1 insertion(+), 12 deletions
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/ethernet/broadcom/tg3.c | 13 +
1 file changed, 1 insertion(+), 12 deletions
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/ethernet/sgi/ioc3-eth.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/hippi/rrunner.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/fddi/skfp/skfddi.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
The name of the pci_driver struct had to be changed in order to prevent
a build failure.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
The name of the pci_driver struct had to be changed in order to prevent
a build failure.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/parisc/superio.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers/parisc
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/uwb/whci.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/uwb/whci.c b
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/uio/uio_sercos3.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/uio
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/uio/uio_netx.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/uio
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
It removes a pr_info showing some details about the driver, but
these infos can also be retrieved by using modinfo.
Signed-off-by: Peter Huewe
---
drivers
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/uio/uio_cif.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/uio
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/uio/uio_aec.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/uio
Removing some boilerplate by using module_usb_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/usb/r8152.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/net/usb
Removing some boilerplate by using module_spi_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
arch/arm/mach-u300/dummyspichip.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/arch
Removing some boilerplate by using module_i2c_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Also removed a useless comment as suggested by Jean Delvare
Signed-off-by: Peter Huewe
Reviewed-by: Jean Delvare
---
drivers/video/matrox/matroxfb_maven.c
Removing some boilerplate by using module_spi_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/micrel/ks8851.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_spi_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe
---
drivers/net/ieee802154/mrf24j40.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers
Removing some boilerplate by using module_spi_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe
---
drivers/net/wireless/ti/wlcore/spi.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_spi_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe
---
drivers/net/can/mcp251x.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/net/can
Removing some boilerplate by using module_i2c_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe
---
arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff
Removing some boilerplate by using module_i2c_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe
---
drivers/video/matrox/matroxfb_maven.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git
Removing some boilerplate by using module_i2c_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe
---
drivers/usb/misc/usb3503.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/usb
Removing some boilerplate by using module_i2c_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe
---
drivers/mfd/adp5520.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers/mfd/adp5520.c
Removing some boilerplate by using module_i2c_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/mfd/adp5520.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git
Removing some boilerplate by using module_i2c_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/usb/misc/usb3503.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_i2c_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/video/matrox/matroxfb_maven.c | 13 +
1 file changed, 1 insertion(+), 12 deletions
Removing some boilerplate by using module_i2c_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c | 13 +
1 file changed, 1 insertion(+), 12
Removing some boilerplate by using module_spi_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/can/mcp251x.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_spi_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/wireless/ti/wlcore/spi.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions
Removing some boilerplate by using module_spi_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/ieee802154/mrf24j40.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff
Removing some boilerplate by using module_spi_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/ethernet/micrel/ks8851.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions
Removing some boilerplate by using module_i2c_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Also removed a useless comment as suggested by Jean Delvare
Signed-off-by: Peter Huewe peterhu...@gmx.de
Reviewed-by: Jean Delvare kh...@linux-fr.org
Removing some boilerplate by using module_spi_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
arch/arm/mach-u300/dummyspichip.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions
Removing some boilerplate by using module_usb_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/net/usb/r8152.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/uio/uio_aec.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/uio/uio_cif.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/uio/uio_netx.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
It removes a pr_info showing some details about the driver, but
these infos can also be retrieved by using modinfo.
Signed-off-by: Peter Huewe peterhu
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/uio/uio_sercos3.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/uwb/whci.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/parisc/superio.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git
The code now contains several dead assignments which are shadowed by
another assignment a few lines later.
-> This patch removes them (and possibly associated code).
Signed-off-by: Peter Huewe
---
The patch did not remove occurences where a register from the device is read.
If the device d
add the static keyword
Signed-off-by: Peter Huewe
---
drivers/staging/btmtk_usb/btmtk_usb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/btmtk_usb/btmtk_usb.c
b/drivers/staging/btmtk_usb/btmtk_usb.c
index 772c49e..a7539df 100644
--- a/drivers/staging/btmtk_
Removing some boilerplate by using module_usb_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe
---
drivers/staging/btmtk_usb/btmtk_usb.c | 15 +--
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git
Removing some boilerplate by using module_usb_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/btmtk_usb/btmtk_usb.c | 15 +--
1 file changed, 1 insertion(+), 14 deletions
the static keyword
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/btmtk_usb/btmtk_usb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/btmtk_usb/btmtk_usb.c
b/drivers/staging/btmtk_usb/btmtk_usb.c
index 772c49e..a7539df 100644
--- a/drivers
The code now contains several dead assignments which are shadowed by
another assignment a few lines later.
- This patch removes them (and possibly associated code).
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
The patch did not remove occurences where a register from the device is read
ion we don't need the Temp variable, so we can use the
value directly).
Signed-off-by: Peter Huewe
---
drivers/staging/xgifb/vb_init.c | 14 --
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/drivers/staging/xgifb/vb_init.c b/drivers/staging/xgifb/vb_init.c
index ab17
ame value as the switch
for comparison, and includes the code into the switch.
Signed-off-by: Peter Huewe
---
drivers/staging/xgifb/vb_init.c | 51 -
1 file changed, 15 insertions(+), 36 deletions(-)
diff --git a/drivers/staging/xgifb/vb_init.c b/drivers/stag
If temp <= 2 no other bits than the lowest two (0x03) can be set anyway
-> this operation can be removed.
Signed-off-by: Peter Huewe
---
drivers/staging/xgifb/vb_init.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/staging/xgifb/vb_init.c b/drivers/staging
Instead of storing the value in a temp variable, anding it with 1 and
assign data conditionally we can assign the value directly.
Signed-off-by: Peter Huewe
---
drivers/staging/xgifb/vb_init.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/xgifb
Smatch complains:
drivers/staging/xgifb/vb_setmode.c:3181
XGI_SetLockRegs() warn: bitwise AND condition is false here
Since SetNTSCTV is defined as 0 in drivers/video/sis/initdef.h this is
correct.
-> Change the condition to == to fix this.
Signed-off-by: Peter Huewe
---
drivers/staging/xg
Instead of storing the value in a temp variable, anding it with 1 and
assign data conditionally we can assign the value directly.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/xgifb/vb_init.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers
301 - 400 of 702 matches
Mail list logo