Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 376055
b: refs/heads/master
c: 927b4dc
h: refs/heads/master
i:
  376053: ec6bc22
  376051: 22f39c7
  376047: c466122
v: v3
  • Loading branch information
Naveen Krishna Chatradhi authored and Jonathan Cameron committed May 22, 2013
1 parent 4f95890 commit f37c3e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d61a04dc148db1d0e7fa2307eb0f7abbc44fcd98
refs/heads/master: 927b4dc3e440a060bd7d9a7ecb83c3dcd80adc84
8 changes: 4 additions & 4 deletions trunk/drivers/iio/adc/exynos_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,8 @@ static int exynos_adc_remove(struct platform_device *pdev)
#ifdef CONFIG_PM_SLEEP
static int exynos_adc_suspend(struct device *dev)
{
struct platform_device *pdev = to_platform_device(dev);
struct exynos_adc *info = platform_get_drvdata(pdev);
struct iio_dev *indio_dev = dev_get_drvdata(dev);
struct exynos_adc *info = iio_priv(indio_dev);
u32 con;

if (info->version == ADC_V2) {
Expand All @@ -413,8 +413,8 @@ static int exynos_adc_suspend(struct device *dev)

static int exynos_adc_resume(struct device *dev)
{
struct platform_device *pdev = to_platform_device(dev);
struct exynos_adc *info = platform_get_drvdata(pdev);
struct iio_dev *indio_dev = dev_get_drvdata(dev);
struct exynos_adc *info = iio_priv(indio_dev);
int ret;

ret = regulator_enable(info->vdd);
Expand Down

0 comments on commit f37c3e4

Please sign in to comment.