diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 15:05:51 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 15:05:51 -0500 |
commit | 06991c28f37ad68e5c03777f5c3b679b56e3dac1 (patch) | |
tree | 4be75788e21c3c644fe6d39abf47693a171cf4f8 /arch/arm | |
parent | 460dc1eecf37263c8e3b17685ef236f0d236facb (diff) | |
parent | 74fef7a8fd1d2bd94f925d6638bb4c3049e7c381 (diff) |
Merge tag 'driver-core-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core patches from Greg Kroah-Hartman:
"Here is the big driver core merge for 3.9-rc1
There are two major series here, both of which touch lots of drivers
all over the kernel, and will cause you some merge conflicts:
- add a new function called devm_ioremap_resource() to properly be
able to check return values.
- remove CONFIG_EXPERIMENTAL
Other than those patches, there's not much here, some minor fixes and
updates"
Fix up trivial conflicts
* tag 'driver-core-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (221 commits)
base: memory: fix soft/hard_offline_page permissions
drivercore: Fix ordering between deferred_probe and exiting initcalls
backlight: fix class_find_device() arguments
TTY: mark tty_get_device call with the proper const values
driver-core: constify data for class_find_device()
firmware: Ignore abort check when no user-helper is used
firmware: Reduce ifdef CONFIG_FW_LOADER_USER_HELPER
firmware: Make user-mode helper optional
firmware: Refactoring for splitting user-mode helper code
Driver core: treat unregistered bus_types as having no devices
watchdog: Convert to devm_ioremap_resource()
thermal: Convert to devm_ioremap_resource()
spi: Convert to devm_ioremap_resource()
power: Convert to devm_ioremap_resource()
mtd: Convert to devm_ioremap_resource()
mmc: Convert to devm_ioremap_resource()
mfd: Convert to devm_ioremap_resource()
media: Convert to devm_ioremap_resource()
iommu: Convert to devm_ioremap_resource()
drm: Convert to devm_ioremap_resource()
...
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/Kconfig | 19 | ||||
-rw-r--r-- | arch/arm/Kconfig.debug | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/gpmc.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/Kconfig | 4 | ||||
-rw-r--r-- | arch/arm/mach-tegra/tegra2_emc.c | 8 | ||||
-rw-r--r-- | arch/arm/plat-omap/dmtimer.c | 8 | ||||
-rw-r--r-- | arch/arm/plat-samsung/adc.c | 8 |
7 files changed, 23 insertions, 34 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 2f66b2e42490..f410cb16dd22 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1530,7 +1530,6 @@ config SMP | |||
1530 | 1530 | ||
1531 | config SMP_ON_UP | 1531 | config SMP_ON_UP |
1532 | bool "Allow booting SMP kernel on uniprocessor systems (EXPERIMENTAL)" | 1532 | bool "Allow booting SMP kernel on uniprocessor systems (EXPERIMENTAL)" |
1533 | depends on EXPERIMENTAL | ||
1534 | depends on SMP && !XIP_KERNEL | 1533 | depends on SMP && !XIP_KERNEL |
1535 | default y | 1534 | default y |
1536 | help | 1535 | help |
@@ -1731,7 +1730,7 @@ config AEABI | |||
1731 | 1730 | ||
1732 | config OABI_COMPAT | 1731 | config OABI_COMPAT |
1733 | bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)" | 1732 | bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)" |
1734 | depends on AEABI && EXPERIMENTAL && !THUMB2_KERNEL | 1733 | depends on AEABI && !THUMB2_KERNEL |
1735 | default y | 1734 | default y |
1736 | help | 1735 | help |
1737 | This option preserves the old syscall interface along with the | 1736 | This option preserves the old syscall interface along with the |
@@ -1855,7 +1854,6 @@ config SECCOMP | |||
1855 | 1854 | ||
1856 | config CC_STACKPROTECTOR | 1855 | config CC_STACKPROTECTOR |
1857 | bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)" | 1856 | bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)" |
1858 | depends on EXPERIMENTAL | ||
1859 | help | 1857 | help |
1860 | This option turns on the -fstack-protector GCC feature. This | 1858 | This option turns on the -fstack-protector GCC feature. This |
1861 | feature puts, at the beginning of functions, a canary value on | 1859 | feature puts, at the beginning of functions, a canary value on |
@@ -1872,7 +1870,7 @@ config XEN_DOM0 | |||
1872 | 1870 | ||
1873 | config XEN | 1871 | config XEN |
1874 | bool "Xen guest support on ARM (EXPERIMENTAL)" | 1872 | bool "Xen guest support on ARM (EXPERIMENTAL)" |
1875 | depends on EXPERIMENTAL && ARM && OF | 1873 | depends on ARM && OF |
1876 | depends on CPU_V7 && !CPU_V6 | 1874 | depends on CPU_V7 && !CPU_V6 |
1877 | help | 1875 | help |
1878 | Say Y if you want to run Linux in a Virtual Machine on Xen on ARM. | 1876 | Say Y if you want to run Linux in a Virtual Machine on Xen on ARM. |
@@ -1941,7 +1939,7 @@ config ZBOOT_ROM | |||
1941 | 1939 | ||
1942 | choice | 1940 | choice |
1943 | prompt "Include SD/MMC loader in zImage (EXPERIMENTAL)" | 1941 | prompt "Include SD/MMC loader in zImage (EXPERIMENTAL)" |
1944 | depends on ZBOOT_ROM && ARCH_SH7372 && EXPERIMENTAL | 1942 | depends on ZBOOT_ROM && ARCH_SH7372 |
1945 | default ZBOOT_ROM_NONE | 1943 | default ZBOOT_ROM_NONE |
1946 | help | 1944 | help |
1947 | Include experimental SD/MMC loading code in the ROM-able zImage. | 1945 | Include experimental SD/MMC loading code in the ROM-able zImage. |
@@ -1970,7 +1968,7 @@ endchoice | |||
1970 | 1968 | ||
1971 | config ARM_APPENDED_DTB | 1969 | config ARM_APPENDED_DTB |
1972 | bool "Use appended device tree blob to zImage (EXPERIMENTAL)" | 1970 | bool "Use appended device tree blob to zImage (EXPERIMENTAL)" |
1973 | depends on OF && !ZBOOT_ROM && EXPERIMENTAL | 1971 | depends on OF && !ZBOOT_ROM |
1974 | help | 1972 | help |
1975 | With this option, the boot code will look for a device tree binary | 1973 | With this option, the boot code will look for a device tree binary |
1976 | (DTB) appended to zImage | 1974 | (DTB) appended to zImage |
@@ -2088,7 +2086,7 @@ config XIP_PHYS_ADDR | |||
2088 | 2086 | ||
2089 | config KEXEC | 2087 | config KEXEC |
2090 | bool "Kexec system call (EXPERIMENTAL)" | 2088 | bool "Kexec system call (EXPERIMENTAL)" |
2091 | depends on EXPERIMENTAL && (!SMP || HOTPLUG_CPU) | 2089 | depends on (!SMP || HOTPLUG_CPU) |
2092 | help | 2090 | help |
2093 | kexec is a system call that implements the ability to shutdown your | 2091 | kexec is a system call that implements the ability to shutdown your |
2094 | current kernel, and to start another kernel. It is like a reboot | 2092 | current kernel, and to start another kernel. It is like a reboot |
@@ -2110,7 +2108,6 @@ config ATAGS_PROC | |||
2110 | 2108 | ||
2111 | config CRASH_DUMP | 2109 | config CRASH_DUMP |
2112 | bool "Build kdump crash kernel (EXPERIMENTAL)" | 2110 | bool "Build kdump crash kernel (EXPERIMENTAL)" |
2113 | depends on EXPERIMENTAL | ||
2114 | help | 2111 | help |
2115 | Generate crash dump after being started by kexec. This should | 2112 | Generate crash dump after being started by kexec. This should |
2116 | be normally only set in special crash dump kernels which are | 2113 | be normally only set in special crash dump kernels which are |
@@ -2177,7 +2174,7 @@ config CPU_FREQ_S3C | |||
2177 | 2174 | ||
2178 | config CPU_FREQ_S3C24XX | 2175 | config CPU_FREQ_S3C24XX |
2179 | bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)" | 2176 | bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)" |
2180 | depends on ARCH_S3C24XX && CPU_FREQ && EXPERIMENTAL | 2177 | depends on ARCH_S3C24XX && CPU_FREQ |
2181 | select CPU_FREQ_S3C | 2178 | select CPU_FREQ_S3C |
2182 | help | 2179 | help |
2183 | This enables the CPUfreq driver for the Samsung S3C24XX family | 2180 | This enables the CPUfreq driver for the Samsung S3C24XX family |
@@ -2189,7 +2186,7 @@ config CPU_FREQ_S3C24XX | |||
2189 | 2186 | ||
2190 | config CPU_FREQ_S3C24XX_PLL | 2187 | config CPU_FREQ_S3C24XX_PLL |
2191 | bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)" | 2188 | bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)" |
2192 | depends on CPU_FREQ_S3C24XX && EXPERIMENTAL | 2189 | depends on CPU_FREQ_S3C24XX |
2193 | help | 2190 | help |
2194 | Compile in support for changing the PLL frequency from the | 2191 | Compile in support for changing the PLL frequency from the |
2195 | S3C24XX series CPUfreq driver. The PLL takes time to settle | 2192 | S3C24XX series CPUfreq driver. The PLL takes time to settle |
@@ -2252,7 +2249,7 @@ config FPE_NWFPE_XP | |||
2252 | 2249 | ||
2253 | config FPE_FASTFPE | 2250 | config FPE_FASTFPE |
2254 | bool "FastFPE math emulation (EXPERIMENTAL)" | 2251 | bool "FastFPE math emulation (EXPERIMENTAL)" |
2255 | depends on (!AEABI || OABI_COMPAT) && !CPU_32v3 && EXPERIMENTAL | 2252 | depends on (!AEABI || OABI_COMPAT) && !CPU_32v3 |
2256 | ---help--- | 2253 | ---help--- |
2257 | Say Y here to include the FAST floating point emulator in the kernel. | 2254 | Say Y here to include the FAST floating point emulator in the kernel. |
2258 | This is an experimental much faster emulator which now also has full | 2255 | This is an experimental much faster emulator which now also has full |
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 661030d6bc6c..fc2a591e1676 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -32,7 +32,7 @@ config FRAME_POINTER | |||
32 | 32 | ||
33 | config ARM_UNWIND | 33 | config ARM_UNWIND |
34 | bool "Enable stack unwinding support (EXPERIMENTAL)" | 34 | bool "Enable stack unwinding support (EXPERIMENTAL)" |
35 | depends on AEABI && EXPERIMENTAL | 35 | depends on AEABI |
36 | default y | 36 | default y |
37 | help | 37 | help |
38 | This option enables stack unwinding support in the kernel | 38 | This option enables stack unwinding support in the kernel |
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 8033cb747c86..64bac53da0e8 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch/arm/mach-omap2/gpmc.c | |||
@@ -1134,11 +1134,9 @@ static int gpmc_probe(struct platform_device *pdev) | |||
1134 | phys_base = res->start; | 1134 | phys_base = res->start; |
1135 | mem_size = resource_size(res); | 1135 | mem_size = resource_size(res); |
1136 | 1136 | ||
1137 | gpmc_base = devm_request_and_ioremap(&pdev->dev, res); | 1137 | gpmc_base = devm_ioremap_resource(&pdev->dev, res); |
1138 | if (!gpmc_base) { | 1138 | if (IS_ERR(gpmc_base)) |
1139 | dev_err(&pdev->dev, "error: request memory / ioremap\n"); | 1139 | return PTR_ERR(gpmc_base); |
1140 | return -EADDRNOTAVAIL; | ||
1141 | } | ||
1142 | 1140 | ||
1143 | res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); | 1141 | res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); |
1144 | if (res == NULL) | 1142 | if (res == NULL) |
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index 25df14a9e268..3445c4f42347 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig | |||
@@ -291,8 +291,8 @@ config MACH_JIVE | |||
291 | Say Y here if you are using the Logitech Jive. | 291 | Say Y here if you are using the Logitech Jive. |
292 | 292 | ||
293 | config MACH_JIVE_SHOW_BOOTLOADER | 293 | config MACH_JIVE_SHOW_BOOTLOADER |
294 | bool "Allow access to bootloader partitions in MTD (EXPERIMENTAL)" | 294 | bool "Allow access to bootloader partitions in MTD" |
295 | depends on MACH_JIVE && EXPERIMENTAL | 295 | depends on MACH_JIVE |
296 | 296 | ||
297 | config MACH_S3C2413 | 297 | config MACH_S3C2413 |
298 | bool | 298 | bool |
diff --git a/arch/arm/mach-tegra/tegra2_emc.c b/arch/arm/mach-tegra/tegra2_emc.c index e18aa2f83ebf..ce7ce42a1ac9 100644 --- a/arch/arm/mach-tegra/tegra2_emc.c +++ b/arch/arm/mach-tegra/tegra2_emc.c | |||
@@ -312,11 +312,9 @@ static int tegra_emc_probe(struct platform_device *pdev) | |||
312 | return -ENOMEM; | 312 | return -ENOMEM; |
313 | } | 313 | } |
314 | 314 | ||
315 | emc_regbase = devm_request_and_ioremap(&pdev->dev, res); | 315 | emc_regbase = devm_ioremap_resource(&pdev->dev, res); |
316 | if (!emc_regbase) { | 316 | if (IS_ERR(emc_regbase)) |
317 | dev_err(&pdev->dev, "failed to remap registers\n"); | 317 | return PTR_ERR(emc_regbase); |
318 | return -ENOMEM; | ||
319 | } | ||
320 | 318 | ||
321 | pdata = pdev->dev.platform_data; | 319 | pdata = pdev->dev.platform_data; |
322 | 320 | ||
diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c index 7b433f3bddca..a0daa2fb5de6 100644 --- a/arch/arm/plat-omap/dmtimer.c +++ b/arch/arm/plat-omap/dmtimer.c | |||
@@ -808,11 +808,9 @@ static int omap_dm_timer_probe(struct platform_device *pdev) | |||
808 | return -ENOMEM; | 808 | return -ENOMEM; |
809 | } | 809 | } |
810 | 810 | ||
811 | timer->io_base = devm_request_and_ioremap(dev, mem); | 811 | timer->io_base = devm_ioremap_resource(dev, mem); |
812 | if (!timer->io_base) { | 812 | if (IS_ERR(timer->io_base)) |
813 | dev_err(dev, "%s: region already claimed.\n", __func__); | 813 | return PTR_ERR(timer->io_base); |
814 | return -ENOMEM; | ||
815 | } | ||
816 | 814 | ||
817 | if (dev->of_node) { | 815 | if (dev->of_node) { |
818 | if (of_find_property(dev->of_node, "ti,timer-alwon", NULL)) | 816 | if (of_find_property(dev->of_node, "ti,timer-alwon", NULL)) |
diff --git a/arch/arm/plat-samsung/adc.c b/arch/arm/plat-samsung/adc.c index 2d676ab50f73..ca07cb1b155a 100644 --- a/arch/arm/plat-samsung/adc.c +++ b/arch/arm/plat-samsung/adc.c | |||
@@ -386,11 +386,9 @@ static int s3c_adc_probe(struct platform_device *pdev) | |||
386 | return -ENXIO; | 386 | return -ENXIO; |
387 | } | 387 | } |
388 | 388 | ||
389 | adc->regs = devm_request_and_ioremap(dev, regs); | 389 | adc->regs = devm_ioremap_resource(dev, regs); |
390 | if (!adc->regs) { | 390 | if (IS_ERR(adc->regs)) |
391 | dev_err(dev, "failed to map registers\n"); | 391 | return PTR_ERR(adc->regs); |
392 | return -ENXIO; | ||
393 | } | ||
394 | 392 | ||
395 | ret = regulator_enable(adc->vdd); | 393 | ret = regulator_enable(adc->vdd); |
396 | if (ret) | 394 | if (ret) |