mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
Merge branch 'for-next' of git://git.infradead.org/users/sameo/mfd-2.6
* 'for-next' of git://git.infradead.org/users/sameo/mfd-2.6: (80 commits) mfd: Fix missing abx500 header file updates mfd: Add missing <linux/io.h> include to intel_msic x86, mrst: add platform support for MSIC MFD driver mfd: Expose TurnOnStatus in ab8500 sysfs mfd: Remove support for early drop ab8500 chip mfd: Add support for ab8500 v3.3 mfd: Add ab8500 interrupt disable hook mfd: Convert db8500-prcmu panic() into pr_crit() mfd: Refactor db8500-prcmu request_clock() function mfd: Rename db8500-prcmu init function mfd: Fix db5500-prcmu defines mfd: db8500-prcmu voltage domain consumers additions mfd: db8500-prcmu reset code retrieval mfd: db8500-prcmu tweak for modem wakeup mfd: Add db8500-pcmu watchdog accessor functions for watchdog mfd: hwacc power state db8500-prcmu accessor mfd: Add db8500-prcmu accessors for PLL and SGA clock mfd: Move to the new db500 PRCMU API mfd: Create a common interface for dbx500 PRCMU drivers mfd: Initialize DB8500 PRCMU regs ... Fix up trivial conflicts in arch/arm/mach-imx/mach-mx31moboard.c arch/arm/mach-omap2/board-omap3beagle.c arch/arm/mach-u300/include/mach/irqs.h drivers/mfd/wm831x-spi.c
This commit is contained in:
commit
a0a4194c94
74 changed files with 6038 additions and 2730 deletions
|
|
@ -31,7 +31,7 @@
|
|||
#define MC13783_ADC_NAME "mc13783-adc"
|
||||
|
||||
struct mc13783_adc_priv {
|
||||
struct mc13783 *mc13783;
|
||||
struct mc13xxx *mc13xxx;
|
||||
struct device *hwmon_dev;
|
||||
};
|
||||
|
||||
|
|
@ -51,8 +51,8 @@ static int mc13783_adc_read(struct device *dev,
|
|||
unsigned int sample[4];
|
||||
int ret;
|
||||
|
||||
ret = mc13783_adc_do_conversion(priv->mc13783,
|
||||
MC13783_ADC_MODE_MULT_CHAN,
|
||||
ret = mc13xxx_adc_do_conversion(priv->mc13xxx,
|
||||
MC13XXX_ADC_MODE_MULT_CHAN,
|
||||
channel, sample);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
|
@ -147,9 +147,9 @@ static const struct attribute_group mc13783_group_ts = {
|
|||
static int mc13783_adc_use_touchscreen(struct platform_device *pdev)
|
||||
{
|
||||
struct mc13783_adc_priv *priv = platform_get_drvdata(pdev);
|
||||
unsigned flags = mc13783_get_flags(priv->mc13783);
|
||||
unsigned flags = mc13xxx_get_flags(priv->mc13xxx);
|
||||
|
||||
return flags & MC13783_USE_TOUCHSCREEN;
|
||||
return flags & MC13XXX_USE_TOUCHSCREEN;
|
||||
}
|
||||
|
||||
static int __init mc13783_adc_probe(struct platform_device *pdev)
|
||||
|
|
@ -161,7 +161,7 @@ static int __init mc13783_adc_probe(struct platform_device *pdev)
|
|||
if (!priv)
|
||||
return -ENOMEM;
|
||||
|
||||
priv->mc13783 = dev_get_drvdata(pdev->dev.parent);
|
||||
priv->mc13xxx = dev_get_drvdata(pdev->dev.parent);
|
||||
|
||||
platform_set_drvdata(pdev, priv);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue