]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'staging/staging-next'
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 7 May 2014 05:19:32 +0000 (15:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 7 May 2014 05:19:32 +0000 (15:19 +1000)
Conflicts:
drivers/iio/adc/Kconfig

14 files changed:
1  2 
Documentation/devicetree/bindings/vendor-prefixes.txt
Documentation/driver-model/devres.txt
MAINTAINERS
drivers/iio/adc/Kconfig
drivers/iio/adc/exynos_adc.c
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
drivers/staging/android/binder.c
drivers/staging/lustre/lustre/lclient/lcommon_cl.c
drivers/staging/lustre/lustre/llite/file.c
drivers/staging/lustre/lustre/llite/llite_internal.h
drivers/staging/lustre/lustre/llite/lloop.c
drivers/staging/lustre/lustre/llite/rw.c
drivers/staging/lustre/lustre/llite/rw26.c
drivers/staging/lustre/lustre/llite/vvp_io.c

Simple merge
diff --cc MAINTAINERS
Simple merge
index 24c28e3f93a3c960b7fd5c51e9f5348e003ababf,6cbf34a90c04b21fbb56cae6f711a3db386ef173..90f596db940da409bdc0a278c91f6649ea7e1b3c
@@@ -106,8 -117,8 +117,8 @@@ config AT91_AD
          Say yes here to build support for Atmel AT91 ADC.
  
  config EXYNOS_ADC
 -      bool "Exynos ADC driver support"
 +      tristate "Exynos ADC driver support"
-       depends on OF
+       depends on ARCH_EXYNOS || (OF && COMPILE_TEST)
        help
          Core support for the ADC block found in the Samsung EXYNOS series
          of SoCs for drivers such as the touchscreen and hwmon to use to share
index affa93f517893b1c6db2ece1c1e83afeea1828aa,d325aeafe5cbf23a45fa6b7093535e73f1aaa09a..010578f1d76264e68dec04fbd361b6958003f5cb
@@@ -336,15 -349,9 +349,9 @@@ static int exynos_adc_probe(struct plat
        if (ret)
                goto err_irq;
  
-       ret = regulator_enable(info->vdd);
-       if (ret)
-               goto err_iio_dev;
-       clk_prepare_enable(info->clk);
        exynos_adc_hw_init(info);
  
 -      ret = of_platform_populate(np, exynos_adc_match, NULL, &pdev->dev);
 +      ret = of_platform_populate(np, exynos_adc_match, NULL, &indio_dev->dev);
        if (ret < 0) {
                dev_err(&pdev->dev, "failed adding child nodes\n");
                goto err_of_populate;
        return 0;
  
  err_of_populate:
 -      device_for_each_child(&pdev->dev, NULL,
 +      device_for_each_child(&indio_dev->dev, NULL,
                                exynos_adc_remove_devices);
-       regulator_disable(info->vdd);
-       clk_disable_unprepare(info->clk);
- err_iio_dev:
        iio_device_unregister(indio_dev);
  err_irq:
        free_irq(info->irq, info);
@@@ -369,13 -378,13 +378,13 @@@ static int exynos_adc_remove(struct pla
        struct iio_dev *indio_dev = platform_get_drvdata(pdev);
        struct exynos_adc *info = iio_priv(indio_dev);
  
 -      device_for_each_child(&pdev->dev, NULL,
 +      device_for_each_child(&indio_dev->dev, NULL,
                                exynos_adc_remove_devices);
-       regulator_disable(info->vdd);
-       clk_disable_unprepare(info->clk);
-       writel(0, info->enable_reg);
        iio_device_unregister(indio_dev);
        free_irq(info->irq, info);
+       writel(0, info->enable_reg);
+       clk_disable_unprepare(info->clk);
+       regulator_disable(info->vdd);
  
        return 0;
  }
Simple merge