summaryrefslogtreecommitdiffstats
path: root/drivers
AgeCommit message (Collapse)Author
2010-10-14drivers: misc: ti-st: fix review commentsPavan Savoy
Based on comments from Jiri Slaby, drop the register storage specifier, remove the unused code, cleanup the const to non-const type casting. Also make the line discipline ops structure static, since its a singleton, unmodified structure which need not be in heap. Reported-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Pavan Savoy <pavan_savoy@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: brcm80211: remove unrefrenced malloced fieldmike.rapoport@gmail.com
from 'struct osl_info' structure Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: brcm80211: replace MFREE with kfreemike.rapoport@gmail.com
Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: brcm80211: remove unused NATIVE_{MALLOC,MFREE}mike.rapoport@gmail.com
Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: brcm80211: replace MALLOC() with k[zm]allocmike.rapoport@gmail.com
Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: brcm80211: remove osl_malloced()/MALLOCED()mike.rapoport@gmail.com
because there are other means to track memory leaks in kernel Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: brcm80211: remove DHD_USE_STATIC_BUFmike.rapoport@gmail.com
The DHD_USE_STATIC_BUF cannot be enabled in the build configuration, remove it. Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14Staging: brcm80211: fix up compiler warnings I createdGreg Kroah-Hartman
I messed up on some of the uintptr conversions, this fixes them up properly. Cc: Brett Rudley <brudley@broadcom.com> Cc: Henry Ptasinski <henryp@broadcom.com> Cc: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: brcm80211: remove OSL_DELAYmike.rapoport@gmail.com
and use udelay and mdelay instead Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: brcm80211: brcmfmac: bug fix - scan result reportnohee ko
Scan result was reported with some duplicated information. Those were about SSID/ rate. With this patch, the duplication can be erased. Signed-off-by: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: brcm80211: brcmfmac: replace KILL_PROC with send_sig()nohee ko
logic optimization : replace KILL_PROC with send_sig() Signed-off-by: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: brcm80211: Purge unused bcmwpa.[ch]Brett Rudley
Move two macros into wlc_mac80211.h and purge the rest. Signed-off-by: Brett Rudley <brudley@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: speakup: fix printk format warningRandy Dunlap
Fix printk format warning: drivers/staging/speakup/serialio.c:44: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long unsigned int' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: <speakup@braille.uwo.ca> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: octeon: Remove USB codeBernhard Walle
Remove functions and definitions that refer to USB since the driver doesn't support USB and it's not planned to add USB support to that driver. So the code is just dead code which can be removed. Cc: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Bernhard Walle <walle@corscience.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: ft1000: Use specific error return value.Marek Belisko
Signed-off-by: Marek Belisko <marek.belisko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: ft1000: Get rid of using atoi.Marek Belisko
Signed-off-by: Marek Belisko <marek.belisko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: sst: Remove the aava bitsAlan Cox
We don't need these special cases any more. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: sst: remove the kernel locking in ioctlVinod Koul
kernel locking in ioctl was introduced when ioctl function was moved from ioctl to unlocked ioctl This is no longer required hence removed Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: ft1000: remove dead code.Marek Belisko
was #ifdef so remove code which was under #else to make code more readable. Signed-off-by: Marek Belisko <marek.belisko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: ft1000: correct indentations for ft1000_usb.c file.Marek Belisko
Signed-off-by: Marek Belisko <marek.belisko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: ft1000: replace and remove c99 comments.Marek Belisko
Comments for probe, disconnect, init and exit functions removed completely (functions names are self explaining). Signed-off-by: Marek Belisko <marek.belisko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: ft1000: lines over 80 characters corrected.Marek Belisko
Signed-off-by: Marek Belisko <marek.belisko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: ft1000: various checkpatch.pl fixes.Marek Belisko
Signed-off-by: Marek Belisko <marek.belisko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-14staging: iio: ad7476: fix !CONFIG_IIO_RING_BUFFER build issue reported by ↵Michael Hennerich
Randy Dunlap Fix function function decalration Enable CONFIG_IIO_RING_BUFFER for the ad7476 driver Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12staging: brcm80211: bug fix- rmmod hang problemnohee ko
Bug fix - rmmod hang problem. Can keep both of kthread & down_interruptible. And in the meantime, can terminate the threads properly during rmmod process. Signed-off-by: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12Staging: brcm80211: remove sbpciregs_t typedefGreg Kroah-Hartman
don't use a typedef, use a 'struct'. Cc: Brett Rudley <brudley@broadcom.com> Cc: Henry Ptasinski <henryp@broadcom.com> Cc: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12Staging: brcm80211: util: remove unneeded use of uintptrGreg Kroah-Hartman
uintptr shouldn't be used when you are just casting to a pointer anyway, so remove it from these usages. Cc: Brett Rudley <brudley@broadcom.com> Cc: Henry Ptasinski <henryp@broadcom.com> Cc: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12Staging: brcm80211: sys: remove unneeded use of uintptrGreg Kroah-Hartman
uintptr shouldn't be used when you are just casting to a pointer anyway, so remove it from these usages. Cc: Brett Rudley <brudley@broadcom.com> Cc: Henry Ptasinski <henryp@broadcom.com> Cc: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12Staging: brcm80211: phy: remove unneeded use of uintptrGreg Kroah-Hartman
uintptr shouldn't be used when you are just casting to a pointer anyway, so remove it from these usages. Cc: Brett Rudley <brudley@broadcom.com> Cc: Henry Ptasinski <henryp@broadcom.com> Cc: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12Staging: brcm80211: include: remove unneeded use of uintptrGreg Kroah-Hartman
uintptr shouldn't be used when you are just casting to a pointer anyway, so remove it from these usages. Cc: Brett Rudley <brudley@broadcom.com> Cc: Henry Ptasinski <henryp@broadcom.com> Cc: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12Staging: brcm80211: bcmsdpcm: remove a bunch of unused macrosGreg Kroah-Hartman
These direct memory reading macros are not being used, so remove them. Cc: Brett Rudley <brudley@broadcom.com> Cc: Henry Ptasinski <henryp@broadcom.com> Cc: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12Staging: brcm80211: remove FALSE #defineGreg Kroah-Hartman
use the kernel provided 'false' value instead, especially as we are using a 'bool' for these variables. Cc: Brett Rudley <brudley@broadcom.com> Cc: Henry Ptasinski <henryp@broadcom.com> Cc: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12Staging: brcm80211: remove TRUE #defineGreg Kroah-Hartman
use the kernel provided 'true' value instead, especially as we are using a 'bool' for these variables. Cc: Brett Rudley <brudley@broadcom.com> Cc: Henry Ptasinski <henryp@broadcom.com> Cc: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12staging: speakup: kobjects.c: style fixesWilliam Hubbs
clean upd this file based on reports from checkpatch.pl Signed-off-by: William Hubbs <w.d.hubbs@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12staging: speakup: keyhelp.c: style fixesWilliam Hubbs
Clean up this file based on reports from checkpatch.pl. Signed-off-by: William Hubbs <w.d.hubbs@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12staging: speakup: i18n.c: style fixesWilliam Hubbs
Clean up this file based on reports from checkpatch.pl. Signed-off-by: William Hubbs <w.d.hubbs@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12staging: speakup: devsynth.c: style fixesWilliam Hubbs
clean up this file based on reports from checkpatch.pl. Signed-off-by: William Hubbs <w.d.hubbs@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12staging: hv: Doubled ringbuffer size for Hyper-v network driverHank Janssen
Double the default network ringsize buffer for Hyper-V network driver. In very heavily loaded systems the there is a chance you run out of ringbuffer space and error out. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12staging: ft1000: get rid of typedef usage.Marek Belisko
Signed-off-by: Marek Belisko <marek.belisko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12staging: ft1000: Remove unused/unnecessary comments.Marek Belisko
Signed-off-by: Marek Belisko <marek.belisko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12staging: ft1000: Fix memory leak when polling fail.Marek Belisko
Signed-off-by: Marek Belisko <marek.belisko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12staging: ft1000-usb: Remove global flag DSP_loading.Marek Belisko
This patch remove global flag DSP_loading which was checked only on one place. Instead check return value for dsp_reload() function. Signed-off-by: Marek Belisko <marek.belisko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12staging: wlags49_h2: remove custom macros min() and max()Andy Shevchenko
Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12staging: rt2860: remove custom min() and max()Andy Shevchenko
Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12staging: brcm80211: remove useless bcm_ether_ntoa()Andy Shevchenko
Since we have '%pM' modifier in the kernel's *printf() we don't need to convert address to the string beforehand. Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: Nohee Ko <noheek@broadcom.com> Cc: Greg Kroah-Hartman <gregkh@suse.de> Cc: linux-wireless@vger.kernel.org Cc: devel@driverdev.osuosl.org Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12staging: brcm80211: remove duplicated function, wf_channel2mhznohee ko
remove duplicated function, wf_channel2mhz Signed-off-by: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12staging: iio: adc: ad799x miscellaneous cleanupsMichael Hennerich
-Simplify by using iio_alloc_pollfunc helper function -Print in_scale in decimal format. -Simplify ring pointer dereferences Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12staging: iio: adc: ad7476 more list review feedback by Jonathan CameronMichael Hennerich
Print in_scale in decimal format. Kconfig list the names of the parts in full, to ease seraching. Use st->spi in the call as it is only used the once. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12staging: iio: adc: ad7476 new SPI ADC driverMichael Hennerich
New driver handling: AD7475, AD7476, AD7477, AD7478, AD7466, AD7467, AD7468, AD7495 SPI micropower and high speed 12-/10-/8-Bit ADCs staging: iio: adc: ad7476 apply list review feedback by Jonathan Cameron Changes since last RFC post V1: Mainly list review feedback by Jonathan Cameron -Remove scan_attrs from chip info structure. -Remove name from chip info structure, use new spi_device_id instead. -Allow transfer buffers to live in their own cache lines, to avoid DMA/cache coherency issues. -Move scan el code into the ring buffer file. -Use helper function to alloc the pollfunc. -Use regulator framework and get vref_mv from the regulator in case not specified by pdata. -Devices with buit-in reference use vref from the chip info structure -Don't error on missing platform_data -Make vref_mv type unsigned short -Print in_scale "Vref / 2^(bits)" if fractional. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-12staging: intel_sst: include delay.h to fix build errorRandy Dunlap
intel_sst_drv_interface.c uses msleep() so it needs to include delay.h: drivers/staging/intel_sst/intel_sst_drv_interface.c:88: error: implicit declaration of function 'msleep' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>