diff options
Diffstat (limited to 'drivers')
46 files changed, 85 insertions, 101 deletions
diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig index 464fa2147df..f6b0a6e2ea5 100644 --- a/drivers/devfreq/Kconfig +++ b/drivers/devfreq/Kconfig | |||
@@ -16,7 +16,7 @@ menuconfig PM_DEVFREQ | |||
16 | is attached to a single device and returns a "representative" | 16 | is attached to a single device and returns a "representative" |
17 | clock frequency of the device, which is also attached | 17 | clock frequency of the device, which is also attached |
18 | to a device by 1-to-1. The device registering devfreq takes the | 18 | to a device by 1-to-1. The device registering devfreq takes the |
19 | responsiblity to "interpret" the representative frequency and | 19 | responsibility to "interpret" the representative frequency and |
20 | to set its every clock accordingly with the "target" callback | 20 | to set its every clock accordingly with the "target" callback |
21 | given to devfreq. | 21 | given to devfreq. |
22 | 22 | ||
diff --git a/drivers/edac/edac_core.h b/drivers/edac/edac_core.h index e48ab3108ad..5b739411d62 100644 --- a/drivers/edac/edac_core.h +++ b/drivers/edac/edac_core.h | |||
@@ -107,13 +107,13 @@ extern int edac_debug_level; | |||
107 | * | 107 | * |
108 | * CPU caches (L1 and L2) | 108 | * CPU caches (L1 and L2) |
109 | * DMA engines | 109 | * DMA engines |
110 | * Core CPU swithces | 110 | * Core CPU switches |
111 | * Fabric switch units | 111 | * Fabric switch units |
112 | * PCIe interface controllers | 112 | * PCIe interface controllers |
113 | * other EDAC/ECC type devices that can be monitored for | 113 | * other EDAC/ECC type devices that can be monitored for |
114 | * errors, etc. | 114 | * errors, etc. |
115 | * | 115 | * |
116 | * It allows for a 2 level set of hiearchry. For example: | 116 | * It allows for a 2 level set of hierarchy. For example: |
117 | * | 117 | * |
118 | * cache could be composed of L1, L2 and L3 levels of cache. | 118 | * cache could be composed of L1, L2 and L3 levels of cache. |
119 | * Each CPU core would have its own L1 cache, while sharing | 119 | * Each CPU core would have its own L1 cache, while sharing |
diff --git a/drivers/edac/edac_device.c b/drivers/edac/edac_device.c index 4b154593343..45b8f4bdd77 100644 --- a/drivers/edac/edac_device.c +++ b/drivers/edac/edac_device.c | |||
@@ -56,7 +56,7 @@ static void edac_device_dump_device(struct edac_device_ctl_info *edac_dev) | |||
56 | * | 56 | * |
57 | * The control structure is allocated in complete chunk | 57 | * The control structure is allocated in complete chunk |
58 | * from the OS. It is in turn sub allocated to the | 58 | * from the OS. It is in turn sub allocated to the |
59 | * various objects that compose the struture | 59 | * various objects that compose the structure |
60 | * | 60 | * |
61 | * The structure has a 'nr_instance' array within itself. | 61 | * The structure has a 'nr_instance' array within itself. |
62 | * Each instance represents a major component | 62 | * Each instance represents a major component |
@@ -118,7 +118,7 @@ struct edac_device_ctl_info *edac_device_alloc_ctl_info( | |||
118 | /* Calc the 'end' offset past the attributes array */ | 118 | /* Calc the 'end' offset past the attributes array */ |
119 | pvt = edac_align_ptr(&dev_attrib[count], sz_private); | 119 | pvt = edac_align_ptr(&dev_attrib[count], sz_private); |
120 | } else { | 120 | } else { |
121 | /* no attribute array specificed */ | 121 | /* no attribute array specified */ |
122 | pvt = edac_align_ptr(dev_attrib, sz_private); | 122 | pvt = edac_align_ptr(dev_attrib, sz_private); |
123 | } | 123 | } |
124 | 124 | ||
@@ -394,7 +394,7 @@ static void edac_device_workq_function(struct work_struct *work_req) | |||
394 | 394 | ||
395 | /* Reschedule the workq for the next time period to start again | 395 | /* Reschedule the workq for the next time period to start again |
396 | * if the number of msec is for 1 sec, then adjust to the next | 396 | * if the number of msec is for 1 sec, then adjust to the next |
397 | * whole one second to save timers fireing all over the period | 397 | * whole one second to save timers firing all over the period |
398 | * between integral seconds | 398 | * between integral seconds |
399 | */ | 399 | */ |
400 | if (edac_dev->poll_msec == 1000) | 400 | if (edac_dev->poll_msec == 1000) |
@@ -563,7 +563,7 @@ EXPORT_SYMBOL_GPL(edac_device_add_device); | |||
563 | * Remove sysfs entries for specified edac_device structure and | 563 | * Remove sysfs entries for specified edac_device structure and |
564 | * then remove edac_device structure from global list | 564 | * then remove edac_device structure from global list |
565 | * | 565 | * |
566 | * @pdev: | 566 | * @dev: |
567 | * Pointer to 'struct device' representing edac_device | 567 | * Pointer to 'struct device' representing edac_device |
568 | * structure to remove. | 568 | * structure to remove. |
569 | * | 569 | * |
diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c index 85226ccf529..7f1dfcc4e59 100644 --- a/drivers/edac/i7core_edac.c +++ b/drivers/edac/i7core_edac.c | |||
@@ -90,7 +90,7 @@ MODULE_PARM_DESC(use_pci_fixup, "Enable PCI fixup to seek for hidden devices"); | |||
90 | #define MC_MAX_DOD 0x64 | 90 | #define MC_MAX_DOD 0x64 |
91 | 91 | ||
92 | /* | 92 | /* |
93 | * OFFSETS for Device 3 Function 4, as inicated on Xeon 5500 datasheet: | 93 | * OFFSETS for Device 3 Function 4, as indicated on Xeon 5500 datasheet: |
94 | * http://www.arrownac.com/manufacturers/intel/s/nehalem/5500-datasheet-v2.pdf | 94 | * http://www.arrownac.com/manufacturers/intel/s/nehalem/5500-datasheet-v2.pdf |
95 | */ | 95 | */ |
96 | 96 | ||
@@ -101,7 +101,7 @@ MODULE_PARM_DESC(use_pci_fixup, "Enable PCI fixup to seek for hidden devices"); | |||
101 | #define DIMM1_COR_ERR(r) (((r) >> 16) & 0x7fff) | 101 | #define DIMM1_COR_ERR(r) (((r) >> 16) & 0x7fff) |
102 | #define DIMM0_COR_ERR(r) ((r) & 0x7fff) | 102 | #define DIMM0_COR_ERR(r) ((r) & 0x7fff) |
103 | 103 | ||
104 | /* OFFSETS for Device 3 Function 2, as inicated on Xeon 5500 datasheet */ | 104 | /* OFFSETS for Device 3 Function 2, as indicated on Xeon 5500 datasheet */ |
105 | #define MC_SSRCONTROL 0x48 | 105 | #define MC_SSRCONTROL 0x48 |
106 | #define SSR_MODE_DISABLE 0x00 | 106 | #define SSR_MODE_DISABLE 0x00 |
107 | #define SSR_MODE_ENABLE 0x01 | 107 | #define SSR_MODE_ENABLE 0x01 |
@@ -398,7 +398,7 @@ static DEFINE_PCI_DEVICE_TABLE(i7core_pci_tbl) = { | |||
398 | }; | 398 | }; |
399 | 399 | ||
400 | /**************************************************************************** | 400 | /**************************************************************************** |
401 | Anciliary status routines | 401 | Ancillary status routines |
402 | ****************************************************************************/ | 402 | ****************************************************************************/ |
403 | 403 | ||
404 | /* MC_CONTROL bits */ | 404 | /* MC_CONTROL bits */ |
@@ -1361,7 +1361,7 @@ static int i7core_get_onedevice(struct pci_dev **prev, | |||
1361 | dev_descr->dev_id, *prev); | 1361 | dev_descr->dev_id, *prev); |
1362 | 1362 | ||
1363 | /* | 1363 | /* |
1364 | * On Xeon 55xx, the Intel Quckpath Arch Generic Non-core regs | 1364 | * On Xeon 55xx, the Intel QuickPath Arch Generic Non-core regs |
1365 | * is at addr 8086:2c40, instead of 8086:2c41. So, we need | 1365 | * is at addr 8086:2c40, instead of 8086:2c41. So, we need |
1366 | * to probe for the alternate address in case of failure | 1366 | * to probe for the alternate address in case of failure |
1367 | */ | 1367 | */ |
@@ -2132,7 +2132,7 @@ static int set_sdram_scrub_rate(struct mem_ctl_info *mci, u32 new_bw) | |||
2132 | 2132 | ||
2133 | /* | 2133 | /* |
2134 | * get_sdram_scrub_rate This routine convert current scrub rate value | 2134 | * get_sdram_scrub_rate This routine convert current scrub rate value |
2135 | * into byte/sec bandwidth accourding to | 2135 | * into byte/sec bandwidth according to |
2136 | * SCRUBINTERVAL formula found in datasheet. | 2136 | * SCRUBINTERVAL formula found in datasheet. |
2137 | */ | 2137 | */ |
2138 | static int get_sdram_scrub_rate(struct mem_ctl_info *mci) | 2138 | static int get_sdram_scrub_rate(struct mem_ctl_info *mci) |
diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c index a203536d90d..123204f8e23 100644 --- a/drivers/edac/sb_edac.c +++ b/drivers/edac/sb_edac.c | |||
@@ -58,7 +58,7 @@ static int probed; | |||
58 | 58 | ||
59 | /* | 59 | /* |
60 | * FIXME: For now, let's order by device function, as it makes | 60 | * FIXME: For now, let's order by device function, as it makes |
61 | * easier for driver's development proccess. This table should be | 61 | * easier for driver's development process. This table should be |
62 | * moved to pci_id.h when submitted upstream | 62 | * moved to pci_id.h when submitted upstream |
63 | */ | 63 | */ |
64 | #define PCI_DEVICE_ID_INTEL_SBRIDGE_SAD0 0x3cf4 /* 12.6 */ | 64 | #define PCI_DEVICE_ID_INTEL_SBRIDGE_SAD0 0x3cf4 /* 12.6 */ |
@@ -375,7 +375,7 @@ static DEFINE_PCI_DEVICE_TABLE(sbridge_pci_tbl) = { | |||
375 | 375 | ||
376 | 376 | ||
377 | /**************************************************************************** | 377 | /**************************************************************************** |
378 | Anciliary status routines | 378 | Ancillary status routines |
379 | ****************************************************************************/ | 379 | ****************************************************************************/ |
380 | 380 | ||
381 | static inline int numrank(u32 mtr) | 381 | static inline int numrank(u32 mtr) |
@@ -1430,7 +1430,7 @@ static void sbridge_mce_output_error(struct mem_ctl_info *mci, | |||
1430 | type = "FATAL"; | 1430 | type = "FATAL"; |
1431 | 1431 | ||
1432 | /* | 1432 | /* |
1433 | * According with Table 15-9 of the Intel Archictecture spec vol 3A, | 1433 | * According with Table 15-9 of the Intel Architecture spec vol 3A, |
1434 | * memory errors should fit in this mask: | 1434 | * memory errors should fit in this mask: |
1435 | * 000f 0000 1mmm cccc (binary) | 1435 | * 000f 0000 1mmm cccc (binary) |
1436 | * where: | 1436 | * where: |
diff --git a/drivers/gpu/drm/radeon/radeon_cp.c b/drivers/gpu/drm/radeon/radeon_cp.c index 0ebb7d4796f..ef67e181377 100644 --- a/drivers/gpu/drm/radeon/radeon_cp.c +++ b/drivers/gpu/drm/radeon/radeon_cp.c | |||
@@ -1827,14 +1827,10 @@ void radeon_do_release(struct drm_device * dev) | |||
1827 | r600_do_cleanup_cp(dev); | 1827 | r600_do_cleanup_cp(dev); |
1828 | else | 1828 | else |
1829 | radeon_do_cleanup_cp(dev); | 1829 | radeon_do_cleanup_cp(dev); |
1830 | if (dev_priv->me_fw) { | 1830 | release_firmware(dev_priv->me_fw); |
1831 | release_firmware(dev_priv->me_fw); | 1831 | dev_priv->me_fw = NULL; |
1832 | dev_priv->me_fw = NULL; | 1832 | release_firmware(dev_priv->pfp_fw); |
1833 | } | 1833 | dev_priv->pfp_fw = NULL; |
1834 | if (dev_priv->pfp_fw) { | ||
1835 | release_firmware(dev_priv->pfp_fw); | ||
1836 | dev_priv->pfp_fw = NULL; | ||
1837 | } | ||
1838 | } | 1834 | } |
1839 | } | 1835 | } |
1840 | 1836 | ||
diff --git a/drivers/gpu/drm/radeon/radeon_gart.c b/drivers/gpu/drm/radeon/radeon_gart.c index c58a036233f..456a77cf4b7 100644 --- a/drivers/gpu/drm/radeon/radeon_gart.c +++ b/drivers/gpu/drm/radeon/radeon_gart.c | |||
@@ -551,7 +551,7 @@ int radeon_vm_bo_update_pte(struct radeon_device *rdev, | |||
551 | 551 | ||
552 | /* nothing to do if vm isn't bound */ | 552 | /* nothing to do if vm isn't bound */ |
553 | if (vm->id == -1) | 553 | if (vm->id == -1) |
554 | return 0;; | 554 | return 0; |
555 | 555 | ||
556 | bo_va = radeon_bo_va(bo, vm); | 556 | bo_va = radeon_bo_va(bo, vm); |
557 | if (bo_va == NULL) { | 557 | if (bo_va == NULL) { |
diff --git a/drivers/gpu/drm/radeon/radeon_gem.c b/drivers/gpu/drm/radeon/radeon_gem.c index c7008b5210f..0519b05968b 100644 --- a/drivers/gpu/drm/radeon/radeon_gem.c +++ b/drivers/gpu/drm/radeon/radeon_gem.c | |||
@@ -91,7 +91,7 @@ int radeon_gem_set_domain(struct drm_gem_object *gobj, | |||
91 | } | 91 | } |
92 | if (!domain) { | 92 | if (!domain) { |
93 | /* Do nothings */ | 93 | /* Do nothings */ |
94 | printk(KERN_WARNING "Set domain withou domain !\n"); | 94 | printk(KERN_WARNING "Set domain without domain !\n"); |
95 | return 0; | 95 | return 0; |
96 | } | 96 | } |
97 | if (domain == RADEON_GEM_DOMAIN_CPU) { | 97 | if (domain == RADEON_GEM_DOMAIN_CPU) { |
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index e9c68fedfcf..034c80a10f1 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig | |||
@@ -470,7 +470,7 @@ config HID_PICOLCD_FB | |||
470 | select FB_SYS_FOPS | 470 | select FB_SYS_FOPS |
471 | ---help--- | 471 | ---help--- |
472 | Provide access to PicoLCD's 256x64 monochrome display via a | 472 | Provide access to PicoLCD's 256x64 monochrome display via a |
473 | frambuffer device. | 473 | framebuffer device. |
474 | 474 | ||
475 | config HID_PICOLCD_BACKLIGHT | 475 | config HID_PICOLCD_BACKLIGHT |
476 | bool "Backlight control" if EXPERT | 476 | bool "Backlight control" if EXPERT |
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 8deedc1b984..e466ecba8dc 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig | |||
@@ -318,7 +318,7 @@ config SENSORS_EXYNOS4_TMU | |||
318 | tristate "Temperature sensor on Samsung EXYNOS4" | 318 | tristate "Temperature sensor on Samsung EXYNOS4" |
319 | depends on ARCH_EXYNOS4 | 319 | depends on ARCH_EXYNOS4 |
320 | help | 320 | help |
321 | If you say yes here you get support for TMU (Thermal Managment | 321 | If you say yes here you get support for TMU (Thermal Management |
322 | Unit) on SAMSUNG EXYNOS4 series of SoC. | 322 | Unit) on SAMSUNG EXYNOS4 series of SoC. |
323 | 323 | ||
324 | This driver can also be built as a module. If so, the module | 324 | This driver can also be built as a module. If so, the module |
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index d2c5095deea..94468a64ce3 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig | |||
@@ -351,7 +351,7 @@ config I2C_DAVINCI | |||
351 | For details please see http://www.ti.com/davinci | 351 | For details please see http://www.ti.com/davinci |
352 | 352 | ||
353 | config I2C_DESIGNWARE_PLATFORM | 353 | config I2C_DESIGNWARE_PLATFORM |
354 | tristate "Synopsys DesignWare Platfrom" | 354 | tristate "Synopsys DesignWare Platform" |
355 | depends on HAVE_CLK | 355 | depends on HAVE_CLK |
356 | help | 356 | help |
357 | If you say yes to this option, support will be included for the | 357 | If you say yes to this option, support will be included for the |
diff --git a/drivers/i2c/busses/i2c-s6000.c b/drivers/i2c/busses/i2c-s6000.c index c64ba736f48..b76a29d1f8e 100644 --- a/drivers/i2c/busses/i2c-s6000.c +++ b/drivers/i2c/busses/i2c-s6000.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Description: Driver for S6000 Family I2C Interface | 4 | * Description: Driver for S6000 Family I2C Interface |
5 | * Copyright (c) 2008 emlix GmbH | 5 | * Copyright (c) 2008 emlix GmbH |
6 | * Author: Oskar Schirmer <os@emlix.com> | 6 | * Author: Oskar Schirmer <oskar@scara.com> |
7 | * | 7 | * |
8 | * Partially based on i2c-bfin-twi.c driver by <sonic.zhang@analog.com> | 8 | * Partially based on i2c-bfin-twi.c driver by <sonic.zhang@analog.com> |
9 | * Copyright (c) 2005-2007 Analog Devices, Inc. | 9 | * Copyright (c) 2005-2007 Analog Devices, Inc. |
diff --git a/drivers/i2c/busses/i2c-s6000.h b/drivers/i2c/busses/i2c-s6000.h index ff23b81ded4..4936f9f2256 100644 --- a/drivers/i2c/busses/i2c-s6000.h +++ b/drivers/i2c/busses/i2c-s6000.h | |||
@@ -6,7 +6,7 @@ | |||
6 | * for more details. | 6 | * for more details. |
7 | * | 7 | * |
8 | * Copyright (C) 2008 Emlix GmbH <info@emlix.com> | 8 | * Copyright (C) 2008 Emlix GmbH <info@emlix.com> |
9 | * Author: Oskar Schirmer <os@emlix.com> | 9 | * Author: Oskar Schirmer <oskar@scara.com> |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #ifndef __DRIVERS_I2C_BUSSES_I2C_S6000_H | 12 | #ifndef __DRIVERS_I2C_BUSSES_I2C_S6000_H |
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index 3bd9fff5c58..c69843742bb 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig | |||
@@ -43,7 +43,7 @@ config AMD_IOMMU | |||
43 | With this option you can enable support for AMD IOMMU hardware in | 43 | With this option you can enable support for AMD IOMMU hardware in |
44 | your system. An IOMMU is a hardware component which provides | 44 | your system. An IOMMU is a hardware component which provides |
45 | remapping of DMA memory accesses from devices. With an AMD IOMMU you | 45 | remapping of DMA memory accesses from devices. With an AMD IOMMU you |
46 | can isolate the the DMA memory of different devices and protect the | 46 | can isolate the DMA memory of different devices and protect the |
47 | system from misbehaving device drivers or hardware. | 47 | system from misbehaving device drivers or hardware. |
48 | 48 | ||
49 | You can find out if your system has an AMD IOMMU if you look into | 49 | You can find out if your system has an AMD IOMMU if you look into |
@@ -67,7 +67,7 @@ config AMD_IOMMU_V2 | |||
67 | ---help--- | 67 | ---help--- |
68 | This option enables support for the AMD IOMMUv2 features of the IOMMU | 68 | This option enables support for the AMD IOMMUv2 features of the IOMMU |
69 | hardware. Select this option if you want to use devices that support | 69 | hardware. Select this option if you want to use devices that support |
70 | the the PCI PRI and PASID interface. | 70 | the PCI PRI and PASID interface. |
71 | 71 | ||
72 | # Intel IOMMU support | 72 | # Intel IOMMU support |
73 | config DMAR_TABLE | 73 | config DMAR_TABLE |
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 49ef8b0794a..220686159c1 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -417,7 +417,7 @@ config MFD_MAX8925 | |||
417 | select MFD_CORE | 417 | select MFD_CORE |
418 | help | 418 | help |
419 | Say yes here to support for Maxim Semiconductor MAX8925. This is | 419 | Say yes here to support for Maxim Semiconductor MAX8925. This is |
420 | a Power Management IC. This driver provies common support for | 420 | a Power Management IC. This driver provides common support for |
421 | accessing the device, additional drivers must be enabled in order | 421 | accessing the device, additional drivers must be enabled in order |
422 | to use the functionality of the device. | 422 | to use the functionality of the device. |
423 | 423 | ||
@@ -440,7 +440,7 @@ config MFD_MAX8998 | |||
440 | help | 440 | help |
441 | Say yes here to support for Maxim Semiconductor MAX8998 and | 441 | Say yes here to support for Maxim Semiconductor MAX8998 and |
442 | National Semiconductor LP3974. This is a Power Management IC. | 442 | National Semiconductor LP3974. This is a Power Management IC. |
443 | This driver provies common support for accessing the device, | 443 | This driver provides common support for accessing the device, |
444 | additional drivers must be enabled in order to use the functionality | 444 | additional drivers must be enabled in order to use the functionality |
445 | of the device. | 445 | of the device. |
446 | 446 | ||
@@ -451,7 +451,7 @@ config MFD_S5M_CORE | |||
451 | select REGMAP_I2C | 451 | select REGMAP_I2C |
452 | help | 452 | help |
453 | Support for the Samsung Electronics S5M MFD series. | 453 | Support for the Samsung Electronics S5M MFD series. |
454 | This driver provies common support for accessing the device, | 454 | This driver provides common support for accessing the device, |
455 | additional drivers must be enabled in order to use the functionality | 455 | additional drivers must be enabled in order to use the functionality |
456 | of the device | 456 | of the device |
457 | 457 | ||
diff --git a/drivers/mfd/tps65911-comparator.c b/drivers/mfd/tps65911-comparator.c index e7ff783aa31..5a62e6bf89a 100644 --- a/drivers/mfd/tps65911-comparator.c +++ b/drivers/mfd/tps65911-comparator.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #define COMP1 1 | 26 | #define COMP1 1 |
27 | #define COMP2 2 | 27 | #define COMP2 2 |
28 | 28 | ||
29 | /* Comparator 1 voltage selection table in milivolts */ | 29 | /* Comparator 1 voltage selection table in millivolts */ |
30 | static const u16 COMP_VSEL_TABLE[] = { | 30 | static const u16 COMP_VSEL_TABLE[] = { |
31 | 0, 2500, 2500, 2500, 2500, 2550, 2600, 2650, | 31 | 0, 2500, 2500, 2500, 2500, 2550, 2600, 2650, |
32 | 2700, 2750, 2800, 2850, 2900, 2950, 3000, 3050, | 32 | 2700, 2750, 2800, 2850, 2900, 2950, 3000, 3050, |
diff --git a/drivers/misc/c2port/Kconfig b/drivers/misc/c2port/Kconfig index e46af9a5810..33ee834e1b8 100644 --- a/drivers/misc/c2port/Kconfig +++ b/drivers/misc/c2port/Kconfig | |||
@@ -5,7 +5,7 @@ | |||
5 | menuconfig C2PORT | 5 | menuconfig C2PORT |
6 | tristate "Silicon Labs C2 port support (EXPERIMENTAL)" | 6 | tristate "Silicon Labs C2 port support (EXPERIMENTAL)" |
7 | depends on EXPERIMENTAL | 7 | depends on EXPERIMENTAL |
8 | default no | 8 | default n |
9 | help | 9 | help |
10 | This option enables support for Silicon Labs C2 port used to | 10 | This option enables support for Silicon Labs C2 port used to |
11 | program Silicon micro controller chips (and other 8051 compatible). | 11 | program Silicon micro controller chips (and other 8051 compatible). |
@@ -23,8 +23,8 @@ if C2PORT | |||
23 | 23 | ||
24 | config C2PORT_DURAMAR_2150 | 24 | config C2PORT_DURAMAR_2150 |
25 | tristate "C2 port support for Eurotech's Duramar 2150 (EXPERIMENTAL)" | 25 | tristate "C2 port support for Eurotech's Duramar 2150 (EXPERIMENTAL)" |
26 | depends on X86 && C2PORT | 26 | depends on X86 |
27 | default no | 27 | default n |
28 | help | 28 | help |
29 | This option enables C2 support for the Eurotech's Duramar 2150 | 29 | This option enables C2 support for the Eurotech's Duramar 2150 |
30 | on board micro controller. | 30 | on board micro controller. |
diff --git a/drivers/mtd/devices/docg3.c b/drivers/mtd/devices/docg3.c index 8272c02668d..50aa90aa7a7 100644 --- a/drivers/mtd/devices/docg3.c +++ b/drivers/mtd/devices/docg3.c | |||
@@ -383,7 +383,7 @@ static void doc_set_device_id(struct docg3 *docg3, int id) | |||
383 | * leveling counters are stored. To access this last area of 4 bytes, a special | 383 | * leveling counters are stored. To access this last area of 4 bytes, a special |
384 | * mode must be input to the flash ASIC. | 384 | * mode must be input to the flash ASIC. |
385 | * | 385 | * |
386 | * Returns 0 if no error occured, -EIO else. | 386 | * Returns 0 if no error occurred, -EIO else. |
387 | */ | 387 | */ |
388 | static int doc_set_extra_page_mode(struct docg3 *docg3) | 388 | static int doc_set_extra_page_mode(struct docg3 *docg3) |
389 | { | 389 | { |
@@ -681,7 +681,7 @@ out: | |||
681 | * - one read of 512 bytes at offset 0 | 681 | * - one read of 512 bytes at offset 0 |
682 | * - one read of 512 bytes at offset 512 + 16 | 682 | * - one read of 512 bytes at offset 512 + 16 |
683 | * | 683 | * |
684 | * Returns 0 if successful, -EIO if a read error occured. | 684 | * Returns 0 if successful, -EIO if a read error occurred. |
685 | */ | 685 | */ |
686 | static int doc_read_page_prepare(struct docg3 *docg3, int block0, int block1, | 686 | static int doc_read_page_prepare(struct docg3 *docg3, int block0, int block1, |
687 | int page, int offset) | 687 | int page, int offset) |
@@ -839,7 +839,7 @@ static void calc_block_sector(loff_t from, int *block0, int *block1, int *page, | |||
839 | * | 839 | * |
840 | * Reads flash memory OOB area of pages. | 840 | * Reads flash memory OOB area of pages. |
841 | * | 841 | * |
842 | * Returns 0 if read successfull, of -EIO, -EINVAL if an error occured | 842 | * Returns 0 if read successful, of -EIO, -EINVAL if an error occurred |
843 | */ | 843 | */ |
844 | static int doc_read_oob(struct mtd_info *mtd, loff_t from, | 844 | static int doc_read_oob(struct mtd_info *mtd, loff_t from, |
845 | struct mtd_oob_ops *ops) | 845 | struct mtd_oob_ops *ops) |
@@ -971,7 +971,7 @@ err_in_read: | |||
971 | * Reads flash memory pages. This function does not read the OOB chunk, but only | 971 | * Reads flash memory pages. This function does not read the OOB chunk, but only |
972 | * the page data. | 972 | * the page data. |
973 | * | 973 | * |
974 | * Returns 0 if read successfull, of -EIO, -EINVAL if an error occured | 974 | * Returns 0 if read successful, of -EIO, -EINVAL if an error occurred |
975 | */ | 975 | */ |
976 | static int doc_read(struct mtd_info *mtd, loff_t from, size_t len, | 976 | static int doc_read(struct mtd_info *mtd, loff_t from, size_t len, |
977 | size_t *retlen, u_char *buf) | 977 | size_t *retlen, u_char *buf) |
@@ -1109,7 +1109,7 @@ static int doc_get_op_status(struct docg3 *docg3) | |||
1109 | * Wait for the chip to be ready again after erase or write operation, and check | 1109 | * Wait for the chip to be ready again after erase or write operation, and check |
1110 | * erase/write status. | 1110 | * erase/write status. |
1111 | * | 1111 | * |
1112 | * Returns 0 if erase successfull, -EIO if erase/write issue, -ETIMEOUT if | 1112 | * Returns 0 if erase successful, -EIO if erase/write issue, -ETIMEOUT if |
1113 | * timeout | 1113 | * timeout |
1114 | */ | 1114 | */ |
1115 | static int doc_write_erase_wait_status(struct docg3 *docg3) | 1115 | static int doc_write_erase_wait_status(struct docg3 *docg3) |
@@ -1186,7 +1186,7 @@ static int doc_erase_block(struct docg3 *docg3, int block0, int block1) | |||
1186 | * Erase a bunch of contiguous blocks, by pairs, as a "mtd" page of 1024 is | 1186 | * Erase a bunch of contiguous blocks, by pairs, as a "mtd" page of 1024 is |
1187 | * split into 2 pages of 512 bytes on 2 contiguous blocks. | 1187 | * split into 2 pages of 512 bytes on 2 contiguous blocks. |
1188 | * | 1188 | * |
1189 | * Returns 0 if erase successful, -EINVAL if adressing error, -EIO if erase | 1189 | * Returns 0 if erase successful, -EINVAL if addressing error, -EIO if erase |
1190 | * issue | 1190 | * issue |
1191 | */ | 1191 | */ |
1192 | static int doc_erase(struct mtd_info *mtd, struct erase_info *info) | 1192 | static int doc_erase(struct mtd_info *mtd, struct erase_info *info) |
@@ -1397,7 +1397,7 @@ static int doc_backup_oob(struct docg3 *docg3, loff_t to, | |||
1397 | * Or provide data without OOB, and then a all zeroed OOB will be used (ECC will | 1397 | * Or provide data without OOB, and then a all zeroed OOB will be used (ECC will |
1398 | * still be filled in if asked for). | 1398 | * still be filled in if asked for). |
1399 | * | 1399 | * |
1400 | * Returns 0 is successfull, EINVAL if length is not 14 bytes | 1400 | * Returns 0 is successful, EINVAL if length is not 14 bytes |
1401 | */ | 1401 | */ |
1402 | static int doc_write_oob(struct mtd_info *mtd, loff_t ofs, | 1402 | static int doc_write_oob(struct mtd_info *mtd, loff_t ofs, |
1403 | struct mtd_oob_ops *ops) | 1403 | struct mtd_oob_ops *ops) |
@@ -1945,7 +1945,7 @@ static void doc_release_device(struct mtd_info *mtd) | |||
1945 | * docg3_resume - Awakens docg3 floor | 1945 | * docg3_resume - Awakens docg3 floor |
1946 | * @pdev: platfrom device | 1946 | * @pdev: platfrom device |
1947 | * | 1947 | * |
1948 | * Returns 0 (always successfull) | 1948 | * Returns 0 (always successful) |
1949 | */ | 1949 | */ |
1950 | static int docg3_resume(struct platform_device *pdev) | 1950 | static int docg3_resume(struct platform_device *pdev) |
1951 | { | 1951 | { |
diff --git a/drivers/net/can/sja1000/Kconfig b/drivers/net/can/sja1000/Kconfig index b60d6c5f29a..03df9a8f2bb 100644 --- a/drivers/net/can/sja1000/Kconfig +++ b/drivers/net/can/sja1000/Kconfig | |||
@@ -75,7 +75,7 @@ config CAN_KVASER_PCI | |||
75 | tristate "Kvaser PCIcanx and Kvaser PCIcan PCI Cards" | 75 | tristate "Kvaser PCIcanx and Kvaser PCIcan PCI Cards" |
76 | depends on PCI | 76 | depends on PCI |
77 | ---help--- | 77 | ---help--- |
78 | This driver is for the the PCIcanx and PCIcan cards (1, 2 or | 78 | This driver is for the PCIcanx and PCIcan cards (1, 2 or |
79 | 4 channel) from Kvaser (http://www.kvaser.com). | 79 | 4 channel) from Kvaser (http://www.kvaser.com). |
80 | 80 | ||
81 | config CAN_PLX_PCI | 81 | config CAN_PLX_PCI |
diff --git a/drivers/net/ethernet/3com/typhoon.c b/drivers/net/ethernet/3com/typhoon.c index 1234a14b2b7..b1536663514 100644 --- a/drivers/net/ethernet/3com/typhoon.c +++ b/drivers/net/ethernet/3com/typhoon.c | |||
@@ -2549,8 +2549,7 @@ typhoon_init(void) | |||
2549 | static void __exit | 2549 | static void __exit |
2550 | typhoon_cleanup(void) | 2550 | typhoon_cleanup(void) |
2551 | { | 2551 | { |
2552 | if (typhoon_fw) | 2552 | release_firmware(typhoon_fw); |
2553 | release_firmware(typhoon_fw); | ||
2554 | pci_unregister_driver(&typhoon_driver); | 2553 | pci_unregister_driver(&typhoon_driver); |
2555 | } | 2554 | } |
2556 | 2555 | ||
diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c index d55df329017..edeeb516807 100644 --- a/drivers/net/ethernet/broadcom/tg3.c +++ b/drivers/net/ethernet/broadcom/tg3.c | |||
@@ -15883,8 +15883,7 @@ static void __devexit tg3_remove_one(struct pci_dev *pdev) | |||
15883 | if (dev) { | 15883 | if (dev) { |
15884 | struct tg3 *tp = netdev_priv(dev); | 15884 | struct tg3 *tp = netdev_priv(dev); |
15885 | 15885 | ||
15886 | if (tp->fw) | 15886 | release_firmware(tp->fw); |
15887 | release_firmware(tp->fw); | ||
15888 | 15887 | ||
15889 | tg3_reset_task_cancel(tp); | 15888 | tg3_reset_task_cancel(tp); |
15890 | 15889 | ||
diff --git a/drivers/net/ethernet/brocade/bna/bnad.c b/drivers/net/ethernet/brocade/bna/bnad.c index 25c4e7f2a09..67cd2ed0306 100644 --- a/drivers/net/ethernet/brocade/bna/bnad.c +++ b/drivers/net/ethernet/brocade/bna/bnad.c | |||
@@ -3520,9 +3520,7 @@ static void __exit | |||
3520 | bnad_module_exit(void) | 3520 | bnad_module_exit(void) |
3521 | { | 3521 | { |
3522 | pci_unregister_driver(&bnad_pci_driver); | 3522 | pci_unregister_driver(&bnad_pci_driver); |
3523 | 3523 | release_firmware(bfi_fw); | |
3524 | if (bfi_fw) | ||
3525 | release_firmware(bfi_fw); | ||
3526 | } | 3524 | } |
3527 | 3525 | ||
3528 | module_init(bnad_module_init); | 3526 | module_init(bnad_module_init); |
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c b/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c index 0d725dc91bc..8694124ef77 100644 --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c | |||
@@ -1260,8 +1260,7 @@ next: | |||
1260 | void | 1260 | void |
1261 | netxen_release_firmware(struct netxen_adapter *adapter) | 1261 | netxen_release_firmware(struct netxen_adapter *adapter) |
1262 | { | 1262 | { |
1263 | if (adapter->fw) | 1263 | release_firmware(adapter->fw); |
1264 | release_firmware(adapter->fw); | ||
1265 | adapter->fw = NULL; | 1264 | adapter->fw = NULL; |
1266 | } | 1265 | } |
1267 | 1266 | ||
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c index d32cf0ddf1b..799fd40ed03 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c | |||
@@ -1321,8 +1321,7 @@ next: | |||
1321 | void | 1321 | void |
1322 | qlcnic_release_firmware(struct qlcnic_adapter *adapter) | 1322 | qlcnic_release_firmware(struct qlcnic_adapter *adapter) |
1323 | { | 1323 | { |
1324 | if (adapter->fw) | 1324 | release_firmware(adapter->fw); |
1325 | release_firmware(adapter->fw); | ||
1326 | adapter->fw = NULL; | 1325 | adapter->fw = NULL; |
1327 | } | 1326 | } |
1328 | 1327 | ||
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 4f74b9762c2..00b4f56a671 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c | |||
@@ -6051,7 +6051,7 @@ static int rtl_open(struct net_device *dev) | |||
6051 | pm_runtime_get_sync(&pdev->dev); | 6051 | pm_runtime_get_sync(&pdev->dev); |
6052 | 6052 | ||
6053 | /* | 6053 | /* |
6054 | * Rx and Tx desscriptors needs 256 bytes alignment. | 6054 | * Rx and Tx descriptors needs 256 bytes alignment. |
6055 | * dma_alloc_coherent provides more. | 6055 | * dma_alloc_coherent provides more. |
6056 | */ | 6056 | */ |
6057 | tp->TxDescArray = dma_alloc_coherent(&pdev->dev, R8169_TX_RING_BYTES, | 6057 | tp->TxDescArray = dma_alloc_coherent(&pdev->dev, R8169_TX_RING_BYTES, |
diff --git a/drivers/net/ethernet/s6gmac.c b/drivers/net/ethernet/s6gmac.c index 8e9fda0c7ae..2ed3ab4b3c2 100644 --- a/drivers/net/ethernet/s6gmac.c +++ b/drivers/net/ethernet/s6gmac.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Ethernet driver for S6105 on chip network device | 2 | * Ethernet driver for S6105 on chip network device |
3 | * (c)2008 emlix GmbH http://www.emlix.com | 3 | * (c)2008 emlix GmbH http://www.emlix.com |
4 | * Authors: Oskar Schirmer <os@emlix.com> | 4 | * Authors: Oskar Schirmer <oskar@scara.com> |
5 | * Daniel Gloeckner <dg@emlix.com> | 5 | * Daniel Gloeckner <dg@emlix.com> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or | 7 | * This program is free software; you can redistribute it and/or |
@@ -1070,4 +1070,4 @@ module_exit(s6gmac_exit); | |||
1070 | 1070 | ||
1071 | MODULE_LICENSE("GPL"); | 1071 | MODULE_LICENSE("GPL"); |
1072 | MODULE_DESCRIPTION("S6105 on chip Ethernet driver"); | 1072 | MODULE_DESCRIPTION("S6105 on chip Ethernet driver"); |
1073 | MODULE_AUTHOR("Oskar Schirmer <os@emlix.com>"); | 1073 | MODULE_AUTHOR("Oskar Schirmer <oskar@scara.com>"); |
diff --git a/drivers/net/ethernet/tehuti/tehuti.c b/drivers/net/ethernet/tehuti/tehuti.c index 8846516678c..447a6932cab 100644 --- a/drivers/net/ethernet/tehuti/tehuti.c +++ b/drivers/net/ethernet/tehuti/tehuti.c | |||
@@ -341,8 +341,8 @@ static int bdx_fw_load(struct bdx_priv *priv) | |||
341 | out: | 341 | out: |
342 | if (master) | 342 | if (master) |
343 | WRITE_REG(priv, regINIT_SEMAPHORE, 1); | 343 | WRITE_REG(priv, regINIT_SEMAPHORE, 1); |
344 | if (fw) | 344 | |
345 | release_firmware(fw); | 345 | release_firmware(fw); |
346 | 346 | ||
347 | if (rc) { | 347 | if (rc) { |
348 | netdev_err(priv->ndev, "firmware loading failed\n"); | 348 | netdev_err(priv->ndev, "firmware loading failed\n"); |
diff --git a/drivers/net/irda/Kconfig b/drivers/net/irda/Kconfig index 031d8e8ed1a..595205406d7 100644 --- a/drivers/net/irda/Kconfig +++ b/drivers/net/irda/Kconfig | |||
@@ -316,7 +316,7 @@ config AU1000_FIR | |||
316 | tristate "Alchemy IrDA SIR/FIR" | 316 | tristate "Alchemy IrDA SIR/FIR" |
317 | depends on IRDA && MIPS_ALCHEMY | 317 | depends on IRDA && MIPS_ALCHEMY |
318 | help | 318 | help |
319 | Say Y/M here to build suppor the the IrDA peripheral on the | 319 | Say Y/M here to build support the IrDA peripheral on the |
320 | Alchemy Au1000 and Au1100 SoCs. | 320 | Alchemy Au1000 and Au1100 SoCs. |
321 | Say M to build a module; it will be called au1k_ir.ko | 321 | Say M to build a module; it will be called au1k_ir.ko |
322 | 322 | ||
diff --git a/drivers/parisc/superio.c b/drivers/parisc/superio.c index e3b76d409de..5003458980d 100644 --- a/drivers/parisc/superio.c +++ b/drivers/parisc/superio.c | |||
@@ -348,7 +348,7 @@ int superio_fixup_irq(struct pci_dev *pcidev) | |||
348 | BUG(); | 348 | BUG(); |
349 | return -1; | 349 | return -1; |
350 | } | 350 | } |
351 | printk("superio_fixup_irq(%s) ven 0x%x dev 0x%x from %p\n", | 351 | printk("superio_fixup_irq(%s) ven 0x%x dev 0x%x from %pf\n", |
352 | pci_name(pcidev), | 352 | pci_name(pcidev), |
353 | pcidev->vendor, pcidev->device, | 353 | pcidev->vendor, pcidev->device, |
354 | __builtin_return_address(0)); | 354 | __builtin_return_address(0)); |
diff --git a/drivers/platform/x86/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.c index 6b26666b37f..c4c1a5444b3 100644 --- a/drivers/platform/x86/fujitsu-laptop.c +++ b/drivers/platform/x86/fujitsu-laptop.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /*-*-linux-c-*-*/ | 1 | /*-*-linux-c-*-*/ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | Copyright (C) 2007,2008 Jonathan Woithe <jwoithe@physics.adelaide.edu.au> | 4 | Copyright (C) 2007,2008 Jonathan Woithe <jwoithe@just42.net> |
5 | Copyright (C) 2008 Peter Gruber <nokos@gmx.net> | 5 | Copyright (C) 2008 Peter Gruber <nokos@gmx.net> |
6 | Copyright (C) 2008 Tony Vroon <tony@linx.net> | 6 | Copyright (C) 2008 Tony Vroon <tony@linx.net> |
7 | Based on earlier work: | 7 | Based on earlier work: |
diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c index 222ccd872ac..f5d6d379f2f 100644 --- a/drivers/power/bq27x00_battery.c +++ b/drivers/power/bq27x00_battery.c | |||
@@ -451,7 +451,7 @@ static int bq27x00_battery_capacity_level(struct bq27x00_device_info *di, | |||
451 | } | 451 | } |
452 | 452 | ||
453 | /* | 453 | /* |
454 | * Return the battery Voltage in milivolts | 454 | * Return the battery Voltage in millivolts |
455 | * Or < 0 if something fails. | 455 | * Or < 0 if something fails. |
456 | */ | 456 | */ |
457 | static int bq27x00_battery_voltage(struct bq27x00_device_info *di, | 457 | static int bq27x00_battery_voltage(struct bq27x00_device_info *di, |
diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig index 5648dad71fb..ffdf712f9a6 100644 --- a/drivers/ptp/Kconfig +++ b/drivers/ptp/Kconfig | |||
@@ -70,7 +70,7 @@ config DP83640_PHY | |||
70 | using the SO_TIMESTAMPING API. | 70 | using the SO_TIMESTAMPING API. |
71 | 71 | ||
72 | In order for this to work, your MAC driver must also | 72 | In order for this to work, your MAC driver must also |
73 | implement the skb_tx_timetamp() function. | 73 | implement the skb_tx_timestamp() function. |
74 | 74 | ||
75 | config PTP_1588_CLOCK_PCH | 75 | config PTP_1588_CLOCK_PCH |
76 | tristate "Intel PCH EG20T as PTP clock" | 76 | tristate "Intel PCH EG20T as PTP clock" |
diff --git a/drivers/regulator/tps65910-regulator.c b/drivers/regulator/tps65910-regulator.c index 8dc3d9392bf..4e01a423471 100644 --- a/drivers/regulator/tps65910-regulator.c +++ b/drivers/regulator/tps65910-regulator.c | |||
@@ -31,54 +31,54 @@ | |||
31 | TPS65910_SLEEP_CONTROL_EXT_INPUT_EN3 | \ | 31 | TPS65910_SLEEP_CONTROL_EXT_INPUT_EN3 | \ |
32 | TPS65911_SLEEP_CONTROL_EXT_INPUT_SLEEP) | 32 | TPS65911_SLEEP_CONTROL_EXT_INPUT_SLEEP) |
33 | 33 | ||
34 | /* supported VIO voltages in milivolts */ | 34 | /* supported VIO voltages in millivolts */ |
35 | static const u16 VIO_VSEL_table[] = { | 35 | static const u16 VIO_VSEL_table[] = { |
36 | 1500, 1800, 2500, 3300, | 36 | 1500, 1800, 2500, 3300, |
37 | }; | 37 | }; |
38 | 38 | ||
39 | /* VSEL tables for TPS65910 specific LDOs and dcdc's */ | 39 | /* VSEL tables for TPS65910 specific LDOs and dcdc's */ |
40 | 40 | ||
41 | /* supported VDD3 voltages in milivolts */ | 41 | /* supported VDD3 voltages in millivolts */ |
42 | static const u16 VDD3_VSEL_table[] = { | 42 | static const u16 VDD3_VSEL_table[] = { |
43 | 5000, | 43 | 5000, |
44 | }; | 44 | }; |
45 | 45 | ||
46 | /* supported VDIG1 voltages in milivolts */ | 46 | /* supported VDIG1 voltages in millivolts */ |
47 | static const u16 VDIG1_VSEL_table[] = { | 47 | static const u16 VDIG1_VSEL_table[] = { |
48 | 1200, 1500, 1800, 2700, | 48 | 1200, 1500, 1800, 2700, |
49 | }; | 49 | }; |
50 | 50 | ||
51 | /* supported VDIG2 voltages in milivolts */ | 51 | /* supported VDIG2 voltages in millivolts */ |
52 | static const u16 VDIG2_VSEL_table[] = { | 52 | static const u16 VDIG2_VSEL_table[] = { |
53 | 1000, 1100, 1200, 1800, | 53 | 1000, 1100, 1200, 1800, |
54 | }; | 54 | }; |
55 | 55 | ||
56 | /* supported VPLL voltages in milivolts */ | 56 | /* supported VPLL voltages in millivolts */ |
57 | static const u16 VPLL_VSEL_table[] = { | 57 | static const u16 VPLL_VSEL_table[] = { |
58 | 1000, 1100, 1800, 2500, | 58 | 1000, 1100, 1800, 2500, |
59 | }; | 59 | }; |
60 | 60 | ||
61 | /* supported VDAC voltages in milivolts */ | 61 | /* supported VDAC voltages in millivolts */ |
62 | static const u16 VDAC_VSEL_table[] = { | 62 | static const u16 VDAC_VSEL_table[] = { |
63 | 1800, 2600, 2800, 2850, | 63 | 1800, 2600, 2800, 2850, |
64 | }; | 64 | }; |
65 | 65 | ||
66 | /* supported VAUX1 voltages in milivolts */ | 66 | /* supported VAUX1 voltages in millivolts */ |
67 | static const u16 VAUX1_VSEL_table[] = { | 67 | static const u16 VAUX1_VSEL_table[] = { |
68 | 1800, 2500, 2800, 2850, | 68 | 1800, 2500, 2800, 2850, |
69 | }; | 69 | }; |
70 | 70 | ||
71 | /* supported VAUX2 voltages in milivolts */ | 71 | /* supported VAUX2 voltages in millivolts */ |
72 | static const u16 VAUX2_VSEL_table[] = { | 72 | static const u16 VAUX2_VSEL_table[] = { |
73 | 1800, 2800, 2900, 3300, | 73 | 1800, 2800, 2900, 3300, |
74 | }; | 74 | }; |
75 | 75 | ||
76 | /* supported VAUX33 voltages in milivolts */ | 76 | /* supported VAUX33 voltages in millivolts */ |
77 | static const u16 VAUX33_VSEL_table[] = { | 77 | static const u16 VAUX33_VSEL_table[] = { |
78 | 1800, 2000, 2800, 3300, | 78 | 1800, 2000, 2800, 3300, |
79 | }; | 79 | }; |
80 | 80 | ||
81 | /* supported VMMC voltages in milivolts */ | 81 | /* supported VMMC voltages in millivolts */ |
82 | static const u16 VMMC_VSEL_table[] = { | 82 | static const u16 VMMC_VSEL_table[] = { |
83 | 1800, 2800, 3000, 3300, | 83 | 1800, 2800, 3000, 3300, |
84 | }; | 84 | }; |
diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c index e756a0df366..d6f8adaa26e 100644 --- a/drivers/remoteproc/remoteproc_core.c +++ b/drivers/remoteproc/remoteproc_core.c | |||
@@ -1105,8 +1105,7 @@ static void rproc_fw_config_virtio(const struct firmware *fw, void *context) | |||
1105 | goto out; | 1105 | goto out; |
1106 | 1106 | ||
1107 | out: | 1107 | out: |
1108 | if (fw) | 1108 | release_firmware(fw); |
1109 | release_firmware(fw); | ||
1110 | /* allow rproc_unregister() contexts, if any, to proceed */ | 1109 | /* allow rproc_unregister() contexts, if any, to proceed */ |
1111 | complete_all(&rproc->firmware_loading_complete); | 1110 | complete_all(&rproc->firmware_loading_complete); |
1112 | } | 1111 | } |
diff --git a/drivers/scsi/aic94xx/aic94xx_seq.c b/drivers/scsi/aic94xx/aic94xx_seq.c index 390168f62a1..5fdca93892a 100644 --- a/drivers/scsi/aic94xx/aic94xx_seq.c +++ b/drivers/scsi/aic94xx/aic94xx_seq.c | |||
@@ -1228,8 +1228,7 @@ static int asd_seq_start_lseq(struct asd_ha_struct *asd_ha, int lseq) | |||
1228 | 1228 | ||
1229 | int asd_release_firmware(void) | 1229 | int asd_release_firmware(void) |
1230 | { | 1230 | { |
1231 | if (sequencer_fw) | 1231 | release_firmware(sequencer_fw); |
1232 | release_firmware(sequencer_fw); | ||
1233 | return 0; | 1232 | return 0; |
1234 | } | 1233 | } |
1235 | 1234 | ||
diff --git a/drivers/scsi/esp_scsi.c b/drivers/scsi/esp_scsi.c index 394ed9e79fd..34552bf1c02 100644 --- a/drivers/scsi/esp_scsi.c +++ b/drivers/scsi/esp_scsi.c | |||
@@ -1000,7 +1000,7 @@ static int esp_check_spur_intr(struct esp *esp) | |||
1000 | 1000 | ||
1001 | static void esp_schedule_reset(struct esp *esp) | 1001 | static void esp_schedule_reset(struct esp *esp) |
1002 | { | 1002 | { |
1003 | esp_log_reset("ESP: esp_schedule_reset() from %p\n", | 1003 | esp_log_reset("ESP: esp_schedule_reset() from %pf\n", |
1004 | __builtin_return_address(0)); | 1004 | __builtin_return_address(0)); |
1005 | esp->flags |= ESP_FLAG_RESETTING; | 1005 | esp->flags |= ESP_FLAG_RESETTING; |
1006 | esp_event(esp, ESP_EVENT_RESET); | 1006 | esp_event(esp, ESP_EVENT_RESET); |
diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c index 6c6486f626e..538230be5cc 100644 --- a/drivers/scsi/qla1280.c +++ b/drivers/scsi/qla1280.c | |||
@@ -4473,17 +4473,14 @@ qla1280_exit(void) | |||
4473 | pci_unregister_driver(&qla1280_pci_driver); | 4473 | pci_unregister_driver(&qla1280_pci_driver); |
4474 | /* release any allocated firmware images */ | 4474 | /* release any allocated firmware images */ |
4475 | for (i = 0; i < QL_NUM_FW_IMAGES; i++) { | 4475 | for (i = 0; i < QL_NUM_FW_IMAGES; i++) { |
4476 | if (qla1280_fw_tbl[i].fw) { | 4476 | release_firmware(qla1280_fw_tbl[i].fw); |
4477 | release_firmware(qla1280_fw_tbl[i].fw); | 4477 | qla1280_fw_tbl[i].fw = NULL; |
4478 | qla1280_fw_tbl[i].fw = NULL; | ||
4479 | } | ||
4480 | } | 4478 | } |
4481 | } | 4479 | } |
4482 | 4480 | ||
4483 | module_init(qla1280_init); | 4481 | module_init(qla1280_init); |
4484 | module_exit(qla1280_exit); | 4482 | module_exit(qla1280_exit); |
4485 | 4483 | ||
4486 | |||
4487 | MODULE_AUTHOR("Qlogic & Jes Sorensen"); | 4484 | MODULE_AUTHOR("Qlogic & Jes Sorensen"); |
4488 | MODULE_DESCRIPTION("Qlogic ISP SCSI (qla1x80/qla1x160) driver"); | 4485 | MODULE_DESCRIPTION("Qlogic ISP SCSI (qla1x80/qla1x160) driver"); |
4489 | MODULE_LICENSE("GPL"); | 4486 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 7db803377c6..c9c56a8427f 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -4122,8 +4122,7 @@ qla2x00_release_firmware(void) | |||
4122 | 4122 | ||
4123 | mutex_lock(&qla_fw_lock); | 4123 | mutex_lock(&qla_fw_lock); |
4124 | for (idx = 0; idx < FW_BLOBS; idx++) | 4124 | for (idx = 0; idx < FW_BLOBS; idx++) |
4125 | if (qla_fw_blobs[idx].fw) | 4125 | release_firmware(qla_fw_blobs[idx].fw); |
4126 | release_firmware(qla_fw_blobs[idx].fw); | ||
4127 | mutex_unlock(&qla_fw_lock); | 4126 | mutex_unlock(&qla_fw_lock); |
4128 | } | 4127 | } |
4129 | 4128 | ||
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index 386f0c53bea..d0f71e5d065 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c | |||
@@ -664,7 +664,7 @@ static void scsi_abort_eh_cmnd(struct scsi_cmnd *scmd) | |||
664 | } | 664 | } |
665 | 665 | ||
666 | /** | 666 | /** |
667 | * scsi_eh_prep_cmnd - Save a scsi command info as part of error recory | 667 | * scsi_eh_prep_cmnd - Save a scsi command info as part of error recovery |
668 | * @scmd: SCSI command structure to hijack | 668 | * @scmd: SCSI command structure to hijack |
669 | * @ses: structure to save restore information | 669 | * @ses: structure to save restore information |
670 | * @cmnd: CDB to send. Can be NULL if no new cmnd is needed | 670 | * @cmnd: CDB to send. Can be NULL if no new cmnd is needed |
@@ -739,7 +739,7 @@ void scsi_eh_prep_cmnd(struct scsi_cmnd *scmd, struct scsi_eh_save *ses, | |||
739 | EXPORT_SYMBOL(scsi_eh_prep_cmnd); | 739 | EXPORT_SYMBOL(scsi_eh_prep_cmnd); |
740 | 740 | ||
741 | /** | 741 | /** |
742 | * scsi_eh_restore_cmnd - Restore a scsi command info as part of error recory | 742 | * scsi_eh_restore_cmnd - Restore a scsi command info as part of error recovery |
743 | * @scmd: SCSI command structure to restore | 743 | * @scmd: SCSI command structure to restore |
744 | * @ses: saved information from a coresponding call to scsi_eh_prep_cmnd | 744 | * @ses: saved information from a coresponding call to scsi_eh_prep_cmnd |
745 | * | 745 | * |
@@ -762,7 +762,7 @@ void scsi_eh_restore_cmnd(struct scsi_cmnd* scmd, struct scsi_eh_save *ses) | |||
762 | EXPORT_SYMBOL(scsi_eh_restore_cmnd); | 762 | EXPORT_SYMBOL(scsi_eh_restore_cmnd); |
763 | 763 | ||
764 | /** | 764 | /** |
765 | * scsi_send_eh_cmnd - submit a scsi command as part of error recory | 765 | * scsi_send_eh_cmnd - submit a scsi command as part of error recovery |
766 | * @scmd: SCSI command structure to hijack | 766 | * @scmd: SCSI command structure to hijack |
767 | * @cmnd: CDB to send | 767 | * @cmnd: CDB to send |
768 | * @cmnd_size: size in bytes of @cmnd | 768 | * @cmnd_size: size in bytes of @cmnd |
diff --git a/drivers/usb/gadget/u_serial.c b/drivers/usb/gadget/u_serial.c index 15a42c8c194..5b3f5fffea9 100644 --- a/drivers/usb/gadget/u_serial.c +++ b/drivers/usb/gadget/u_serial.c | |||
@@ -914,7 +914,7 @@ static int gs_put_char(struct tty_struct *tty, unsigned char ch) | |||
914 | unsigned long flags; | 914 | unsigned long flags; |
915 | int status; | 915 | int status; |
916 | 916 | ||
917 | pr_vdebug("gs_put_char: (%d,%p) char=0x%x, called from %p\n", | 917 | pr_vdebug("gs_put_char: (%d,%p) char=0x%x, called from %pf\n", |
918 | port->port_num, tty, ch, __builtin_return_address(0)); | 918 | port->port_num, tty, ch, __builtin_return_address(0)); |
919 | 919 | ||
920 | spin_lock_irqsave(&port->port_lock, flags); | 920 | spin_lock_irqsave(&port->port_lock, flags); |
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 74a14f6ed34..83e58df29fe 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig | |||
@@ -153,7 +153,7 @@ config USB_EHCI_HCD_OMAP | |||
153 | bool "EHCI support for OMAP3 and later chips" | 153 | bool "EHCI support for OMAP3 and later chips" |
154 | depends on USB_EHCI_HCD && ARCH_OMAP | 154 | depends on USB_EHCI_HCD && ARCH_OMAP |
155 | default y | 155 | default y |
156 | --- help --- | 156 | ---help--- |
157 | Enables support for the on-chip EHCI controller on | 157 | Enables support for the on-chip EHCI controller on |
158 | OMAP3 and later chips. | 158 | OMAP3 and later chips. |
159 | 159 | ||
diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h index 8f3cbb8dc81..1719886bb9b 100644 --- a/drivers/usb/storage/unusual_devs.h +++ b/drivers/usb/storage/unusual_devs.h | |||
@@ -110,7 +110,7 @@ UNUSUAL_DEV( 0x040d, 0x6205, 0x0003, 0x0003, | |||
110 | USB_SC_DEVICE, USB_PR_DEVICE, NULL, | 110 | USB_SC_DEVICE, USB_PR_DEVICE, NULL, |
111 | US_FL_IGNORE_RESIDUE ), | 111 | US_FL_IGNORE_RESIDUE ), |
112 | 112 | ||
113 | /* Deduced by Jonathan Woithe <jwoithe@physics.adelaide.edu.au> | 113 | /* Deduced by Jonathan Woithe <jwoithe@just42.net> |
114 | * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message | 114 | * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message |
115 | * always fails and confuses drive. | 115 | * always fails and confuses drive. |
116 | */ | 116 | */ |
diff --git a/drivers/video/au1100fb.c b/drivers/video/au1100fb.c index ffbce452546..fe3b6ec8712 100644 --- a/drivers/video/au1100fb.c +++ b/drivers/video/au1100fb.c | |||
@@ -536,7 +536,7 @@ static int __devinit au1100fb_drv_probe(struct platform_device *dev) | |||
536 | for (page = (unsigned long)fbdev->fb_mem; | 536 | for (page = (unsigned long)fbdev->fb_mem; |
537 | page < PAGE_ALIGN((unsigned long)fbdev->fb_mem + fbdev->fb_len); | 537 | page < PAGE_ALIGN((unsigned long)fbdev->fb_mem + fbdev->fb_len); |
538 | page += PAGE_SIZE) { | 538 | page += PAGE_SIZE) { |
539 | #if CONFIG_DMA_NONCOHERENT | 539 | #ifdef CONFIG_DMA_NONCOHERENT |
540 | SetPageReserved(virt_to_page(CAC_ADDR((void *)page))); | 540 | SetPageReserved(virt_to_page(CAC_ADDR((void *)page))); |
541 | #else | 541 | #else |
542 | SetPageReserved(virt_to_page(page)); | 542 | SetPageReserved(virt_to_page(page)); |
diff --git a/drivers/w1/Kconfig b/drivers/w1/Kconfig index fd2c7bd9dfb..6743bde038c 100644 --- a/drivers/w1/Kconfig +++ b/drivers/w1/Kconfig | |||
@@ -16,7 +16,7 @@ config W1_CON | |||
16 | depends on CONNECTOR | 16 | depends on CONNECTOR |
17 | bool "Userspace communication over connector" | 17 | bool "Userspace communication over connector" |
18 | default y | 18 | default y |
19 | --- help --- | 19 | ---help--- |
20 | This allows to communicate with userspace using connector. For more | 20 | This allows to communicate with userspace using connector. For more |
21 | information see <file:Documentation/connector/connector.txt>. | 21 | information see <file:Documentation/connector/connector.txt>. |
22 | There are three types of messages between w1 core and userspace: | 22 | There are three types of messages between w1 core and userspace: |
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 37096246c93..eeea76f4dcc 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig | |||
@@ -937,7 +937,7 @@ config BCM47XX_WDT | |||
937 | tristate "Broadcom BCM47xx Watchdog Timer" | 937 | tristate "Broadcom BCM47xx Watchdog Timer" |
938 | depends on BCM47XX | 938 | depends on BCM47XX |
939 | help | 939 | help |
940 | Hardware driver for the Broadcom BCM47xx Watchog Timer. | 940 | Hardware driver for the Broadcom BCM47xx Watchdog Timer. |
941 | 941 | ||
942 | config RC32434_WDT | 942 | config RC32434_WDT |
943 | tristate "IDT RC32434 SoC Watchdog Timer" | 943 | tristate "IDT RC32434 SoC Watchdog Timer" |
diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig index ea20c51d24c..8d2501e604d 100644 --- a/drivers/xen/Kconfig +++ b/drivers/xen/Kconfig | |||
@@ -71,7 +71,7 @@ config XEN_DEV_EVTCHN | |||
71 | tristate "Xen /dev/xen/evtchn device" | 71 | tristate "Xen /dev/xen/evtchn device" |
72 | default y | 72 | default y |
73 | help | 73 | help |
74 | The evtchn driver allows a userspace process to triger event | 74 | The evtchn driver allows a userspace process to trigger event |
75 | channels and to receive notification of an event channel | 75 | channels and to receive notification of an event channel |
76 | firing. | 76 | firing. |
77 | If in doubt, say yes. | 77 | If in doubt, say yes. |