summaryrefslogtreecommitdiffstats
path: root/drivers/staging/me4000
Commit message (Collapse)AuthorAgeFilesLines
* Staging: me4000: make file_operations constAndre Haupt2009-04-031-13/+13
| | | | | | | | | | This eliminates checkpatch.pl warnings, that struct file_operations is usually const. The structs me4000_ai_fops_array and me4000_ao_fops_array are not modified and thus also made const. Signed-off-by: Andre Haupt <andre@bitwigglers.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: me4000: use tabs for code indentationAndre Haupt2009-04-031-3/+3
| | | | | | Signed-off-by: Andre Haupt <andre@bitwigglers.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: me4000: do not use C99 style comments.Andre Haupt2009-04-031-32/+49
| | | | | | Signed-off-by: Andre Haupt <andre@bitwigglers.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: me4000: fix various checkpatch.pl warnings about bracingAndre Haupt2009-04-031-20/+11
| | | | | | Signed-off-by: Andre Haupt <andre@bitwigglers.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: me4000: kfree(NULL) is safe, so no extra checks needed.Andre Haupt2009-04-031-6/+3
| | | | | | Signed-off-by: Andre Haupt <andre@bitwigglers.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: me4000: replace some C99 commentsAndre Haupt2009-04-031-4/+10
| | | | | | | | | checkpatch.pl triggered those as false positives for trailing statements, but those lines also triggered some other warnings. Signed-off-by: Andre Haupt <andre@bitwigglers.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: me4000: inline keyword should sit between storage class and typeAndre Haupt2009-04-031-8/+8
| | | | | | | | | fixes some checkpatch.pl errors complaining about wrong position of the inline keyword Signed-off-by: Andre Haupt <andre@bitwigglers.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: me4000: return is not a function, no parentheses requiredAndre Haupt2009-04-031-3/+3
| | | | | | | | fixes some checkpatch.pl errors about unneccessary parentheses. Signed-off-by: Andre Haupt <andre@bitwigglers.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: me4000: use linux/uaccess.h and linux/io.hAndre Haupt2009-04-031-2/+2
| | | | | | | | | | | This fixes the following checkpatch.pl warnings: WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h> WARNING: Use #include <linux/io.h> instead of <asm/io.h> Signed-off-by: Andre Haupt <andre@bitwigglers.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: me4000: switch to list_for_each*()Alexander Beregalov2009-01-061-58/+39
| | | | | | Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: correct dubious use of !x & yHarvey Harrison2009-01-061-1/+1
| | | | | | | | | | Noticed by sparse: drivers/staging/me4000/me4000.c:1213:43: warning: dubious: !x & y drivers/staging/wlan-ng/p80211wext.c:1583:21: warning: dubious: !x & y Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* drivers: remove duplicated #includeJianjun Kong2008-11-041-1/+0
| | | | | Signed-off-by: Jianjun Kong <jianjun@zeuux.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* saner FASYNC handling on file closeAl Viro2008-11-011-3/+0
| | | | | | | | | | | | | | As it is, all instances of ->release() for files that have ->fasync() need to remember to evict file from fasync lists; forgetting that creates a hole and we actually have a bunch that *does* forget. So let's keep our lives simple - let __fput() check FASYNC in file->f_flags and call ->fasync() there if it's been set. And lose that crap in ->release() instances - leaving it there is still valid, but we don't have to bother anymore. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Staging: me4000: remove some compiler warningsGreg Kroah-Hartman2008-10-221-6/+6
| | | | | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: Fixes for me4000 pci data collection driverLior Dotan2008-10-222-545/+545
| | | | | | | | | | | | | | Following Andrew Morton's review for this patch I made a patch that fixes most of the remarks. I've converted the sleep_on_timeout to wait_event_timeout but I probably not in the right way. Also I don't know what's the problem with the calls for get_user() so I left them untouched. Signed-off-by: Lior Dotan <liodot@gmail.com> Cc: Andrew Morton <akpm@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: add me4000 pci data collection driverGreg Kroah-Hartman2008-10-105-0/+7111
| | | | | | | | | | | | | | | | | Originally written by Guenter Gebhardt <g.gebhardt@meilhaus.de> TODO: - checkpatch.pl cleanups - sparse cleanups - possible /proc interaction cleanups - more info needed for Kconfig entry - real device id? - module parameter cleanup Cc: Wolfgang Beiter <w.beiter@aon.at> Cc: Guenter Gebhardt <g.gebhardt@meilhaus.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: add me4000 firmware filesGreg Kroah-Hartman2008-10-102-0/+15442
Originally written by Guenter Gebhardt <g.gebhardt@meilhaus.de> TODO: move this to the request_firmware() interface Cc: Wolfgang Beiter <w.beiter@aon.at> Cc: Guenter Gebhardt <g.gebhardt@meilhaus.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
OpenPOWER on IntegriCloud