- 12 9月, 2011 32 次提交
-
-
由 Arend van Spriel 提交于
The source file contained two static variable which were used by the driver instance. This makes having multiple instances of the driver on one system impossible. This patch removes the use of these static variables allowing multiple driver instances. Reported-by: NJohannes Berg <johannes@sipsolutions.net> Reviewed-by: NFranky (Zhenhui) Lin <frankyl@broadcom.com> Reviewed-by: NRoland Vossen <rvossen@broadcom.com> Signed-off-by: NRoland Vossen <rvossen@broadcom.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Arend van Spriel 提交于
The static local variable save_ms in brcmf_sdbrcm_wd_timer() has been removed and placed in the structure brcmf_bus definition. Reported-by: NJohannes Berg <johannes@sipsolutions.net> Reviewed-by: NFranky (Zhenhui) Lin <frankyl@broadcom.com> Reviewed-by: NRoland Vossen <rvossen@broadcom.com> Signed-off-by: NRoland Vossen <rvossen@broadcom.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Roland Vossen 提交于
brcmf_sdcard_iovar_op was only called with iovar "sd_rxchain", and always returns 'false' as the queried value. Thus, the entire function, related iovar tables and related functions could be removed. Reported-by: NJohannes Berg <johannes@sipsolutions.net> Signed-off-by: NRoland Vossen <rvossen@broadcom.com> Reviewed-by: NArend van Spriel <arend@broadcom.com> Reviewed-by: NFranky Lin <frankyl@broadcom.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Roland Vossen 提交于
Linux will never call brcmf_netdev_ioctl_entry() with the value BRCMF_IOCTL_MAGIC in a user space buffer. Thus, unused code could be removed. Reported-by: NJohannes Berg <johannes@sipsolutions.net> Signed-off-by: NRoland Vossen <rvossen@broadcom.com> Reviewed-by: NArend van Spriel <arend@broadcom.com> Reviewed-by: NFranky Lin <frankyl@broadcom.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Roland Vossen 提交于
Substituted/moved/removed macro's. Reported-by: NJohannes Berg <johannes@sipsolutions.net> Signed-off-by: NRoland Vossen <rvossen@broadcom.com> Reviewed-by: NArend van Spriel <arend@broadcom.com> Reviewed-by: NFranky Lin <frankyl@broadcom.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Roland Vossen 提交于
Substituted/removed macro's. Reported-by: NJohannes Berg <johannes@sipsolutions.net> Signed-off-by: NRoland Vossen <rvossen@broadcom.com> Reviewed-by: NArend van Spriel <arend@broadcom.com> Reviewed-by: NFranky Lin <frankyl@broadcom.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Roland Vossen 提交于
Substituted/removed macro's. Reported-by: NJohannes Berg <johannes@sipsolutions.net> Signed-off-by: NRoland Vossen <rvossen@broadcom.com> Reviewed-by: NArend van Spriel <arend@broadcom.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Roland Vossen 提交于
Substituted/removed macro's. Reported-by: NJohannes Berg <johannes@sipsolutions.net> Signed-off-by: NRoland Vossen <rvossen@broadcom.com> Reviewed-by: NArend van Spriel <arend@broadcom.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Franky Lin 提交于
Use work queue instead. Reported-by: NJohannes Berg <johannes@sipsolutions.net> Reviewed-by: NArend van Spriel <arend@broadcom.com> Reviewed-by: NHoward Harte <hharte@broadcom.com> Signed-off-by: NRoland Vossen <rvossen@broadcom.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Aaro Koskinen 提交于
Delete redundant casts from mtrr_add() call. Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Aaro Koskinen 提交于
The condition for printk() is wrong. Also change it to dev_info(). Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Aaro Koskinen 提交于
MTRR region should be deleted on probe failure and driver removal. Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Arvydas Sidorenko 提交于
crystalhd_fw_if.h: indentation fix (spaces to tabs) The rest are brackets. NOTE: there are quite some 80 character warnings, but they look in place, comments mostly on the right next to the constants and stuff like that. I haven't touched them, since this rule is 'going away', but in case you would like it to be fixed, let me know. I'm sending 2 patches, but it they aren't connected in any way, so doesn't matter the apply order. It's just a cleanup. P.S sorry for the first lame patches a couple of days ago Signed-off-by: NArvydas Sidorenko <asido4@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Fix long lines in cx25821-video-upstream.h Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Fix long lines in cx25821-video-upstream.c Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Fix long lines in cx25821-video-upstream-ch2.h Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Fix long lines in cx25821-video-upstream-ch2.c Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Change obscure line endings to less obscure ones. Rationale: improve readability. Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Delete whitespace characters before labels. Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Replace :? operator by if-else equivalent where it improves readability. Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Fix long lines in cx25821-audio-upstream.h Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Fix long lines in cx25821-audio-upstream.c Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Change obscure line endings to less obscure ones. Rationale: more readable. Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Fix too long lines in cx25821-audio.h Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Fix wrong brace placement and statement indent in cx25821-i2c.c Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Fix wrong brace placement and statement indent in cx25821-core.c Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Fix wrong brace placement and statement indent in cx25821-cards.c Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Use DEFINE_PCI_DEVICE_TABLE for cx25821_pci_tbl Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Move EXPORT_SYMBOL(cx25821_set_gpiopin_direction) to the right place. Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Delete file cx25821-gpio.h since it is not used. Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Rename _audio_upstream_channel_select to _audio_upstream_channel in in struct cx25821_dev in cx25821.h and all usages of that struct member as well, because _audio_upstream_channel_select is seems to be too long for a variable name. Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Leonid V. Fedorenchik 提交于
Get rid of typedef in cx25821.h Signed-off-by: NLeonid V. Fedorenchik <leonidsbox@gmail.com> Reviewed-By: NValdis Kletnieks <valdis.kletnieks@vt.edu> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
- 10 9月, 2011 8 次提交
-
-
由 Nitin Gupta 提交于
Fixes sparse warning: zram_drv.c:666:6: warning: symbol 'zram_slot_free_notify' was not declared. Should it be static? Also, max_zpage_size is now size_t just to be consistent with data-type of other variables maintaining sizes of various kinds. Signed-off-by: NNitin Gupta <ngupta@vflare.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Jonathan Cameron 提交于
V3 is a straightforward forward port to teh current tree of V2. Simple fix is to just not cache REG_TEST (offset 8). Cache doesn't help REG_TEST anyway since we write all 8 bits exactly once (at resume/init time). Also fix an "off-by-one" allocation of reg_cache[] array size that was in the original code before I touched it. Reported-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGrant Grundler <grundler@chromium.org> Signed-off-by: NJonathan Cameron <jic23@cam.ac.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 K. Y. Srinivasan 提交于
Cleanup dated comments in channel_mgmt.c. Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com> Signed-off-by: NHaiyang Zhang <haiyangz@microsoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 K. Y. Srinivasan 提交于
The vmbus devices are NOT child devices; rename vmbus_child_device_unregister to reflect this. Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com> Signed-off-by: NHaiyang Zhang <haiyangz@microsoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 K. Y. Srinivasan 提交于
The vmbus devices are NOT child devices; rename vmbus_child_device_register to reflect this. Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com> Signed-off-by: NHaiyang Zhang <haiyangz@microsoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 K. Y. Srinivasan 提交于
The vmbus devices are NOT child devices; rename vmbus_child_device_create to reflect this. Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com> Signed-off-by: NHaiyang Zhang <haiyangz@microsoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 H Hartley Sweeten 提交于
There is no reason to cache the irq_handler in struct dt3155_priv. Just pass the function directly in request_irq. Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com> Cc: Mauro Carvalho Chehab <mchehab@redhat.com> Cc: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 H Hartley Sweeten 提交于
Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com> Cc: Mauro Carvalho Chehab <mchehab@redhat.com> Cc: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-