mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (226 commits)
ARM: 6323/1: cam60: don't use __init for cam60_spi_{flash_platform_data,partitions}
ARM: 6324/1: cam60: move cam60_spi_devices to .init.data
ARM: 6322/1: imx/pca100: Fix name of spi platform data
ARM: 6321/1: fix syntax error in main Kconfig file
ARM: 6297/1: move U300 timer to dynamic clock lookup
ARM: 6296/1: clock U300 intcon and timer properly
ARM: 6295/1: fix U300 apb_pclk split
ARM: 6306/1: fix inverted MMC card detect in U300
ARM: 6299/1: errata: TLBIASIDIS and TLBIMVAIS operations can broadcast a faulty ASID
ARM: 6294/1: etm: do a dummy read from OSSRR during initialization
ARM: 6292/1: coresight: add ETM management registers
ARM: 6288/1: ftrace: document mcount formats
ARM: 6287/1: ftrace: clean up mcount assembly indentation
ARM: 6286/1: fix Thumb-2 decompressor broken by "Auto calculate ZRELADDR"
ARM: 6281/1: video/imxfb.c: allow usage without BACKLIGHT_CLASS_DEVICE
ARM: 6280/1: imx: Fix build failure when including <mach/gpio.h> without <linux/spinlock.h>
ARM: S5PV210: Fix on missing s3c-sdhci card detection method for hsmmc3
ARM: S5P: Fix on missing S5P_DEV_FIMC in plat-s5p/Kconfig
ARM: S5PV210: Override FIMC driver name on Aquila board
ARM: S5PC100: enable FIMC on SMDKC100
...
Fix up conflicts in arch/arm/mach-{s5pc100,s5pv210}/cpu.c due to
different subsystem 'setname' calls, and trivial port types in
include/linux/serial_core.h
This commit is contained in:
commit
636d17427b
307 changed files with 16336 additions and 4847 deletions
|
|
@ -29,7 +29,6 @@ static DEFINE_MUTEX(bat_lock);
|
|||
static struct work_struct bat_work;
|
||||
static struct mutex work_lock;
|
||||
static int bat_status = POWER_SUPPLY_STATUS_UNKNOWN;
|
||||
static struct wm97xx_batt_info *gpdata;
|
||||
static enum power_supply_property *prop;
|
||||
|
||||
static unsigned long wm97xx_read_bat(struct power_supply *bat_ps)
|
||||
|
|
@ -172,12 +171,6 @@ static int __devinit wm97xx_bat_probe(struct platform_device *dev)
|
|||
struct wm97xx_pdata *wmdata = dev->dev.platform_data;
|
||||
struct wm97xx_batt_pdata *pdata;
|
||||
|
||||
if (gpdata) {
|
||||
dev_err(&dev->dev, "Do not pass platform_data through "
|
||||
"wm97xx_bat_set_pdata!\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (!wmdata) {
|
||||
dev_err(&dev->dev, "No platform data supplied\n");
|
||||
return -EINVAL;
|
||||
|
|
@ -308,15 +301,6 @@ static void __exit wm97xx_bat_exit(void)
|
|||
platform_driver_unregister(&wm97xx_bat_driver);
|
||||
}
|
||||
|
||||
/* The interface is deprecated, as well as linux/wm97xx_batt.h */
|
||||
void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data);
|
||||
|
||||
void wm97xx_bat_set_pdata(struct wm97xx_batt_info *data)
|
||||
{
|
||||
gpdata = data;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(wm97xx_bat_set_pdata);
|
||||
|
||||
module_init(wm97xx_bat_init);
|
||||
module_exit(wm97xx_bat_exit);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue