Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348211
b: refs/heads/master
c: 6d2cea4
h: refs/heads/master
i:
  348209: a42c10c
  348207: 4f0147c
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jan 3, 2013
1 parent 5b77c7f commit 0f5e7ee
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 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: 47b1ea75fe072432f5b93ced21c019ed2b930c98
refs/heads/master: 6d2cea4fcaff539f803b06d5c3146966f78d47c4
6 changes: 2 additions & 4 deletions trunk/drivers/power/ab8500_bmdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,10 +452,8 @@ struct abx500_bm_data ab8500_bm_data = {
.fg_params = &fg,
};

int __devinit
bmdevs_of_probe(struct device *dev,
struct device_node *np,
struct abx500_bm_data **battery)
int bmdevs_of_probe(struct device *dev, struct device_node *np,
struct abx500_bm_data **battery)
{
struct abx500_battery_type *btype;
struct device_node *np_bat_supply;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/power/olpc_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ static int olpc_battery_remove(struct platform_device *pdev)
return 0;
}

static const struct of_device_id olpc_battery_ids[] __devinitconst = {
static const struct of_device_id olpc_battery_ids[] = {
{ .compatible = "olpc,xo1-battery" },
{}
};
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/power/reset/gpio-poweroff.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ static void gpio_poweroff_do_poweroff(void)
WARN_ON(1);
}

static int __devinit gpio_poweroff_probe(struct platform_device *pdev)
static int gpio_poweroff_probe(struct platform_device *pdev)
{
enum of_gpio_flags flags;
bool input = false;
Expand Down Expand Up @@ -96,7 +96,7 @@ static int __devinit gpio_poweroff_probe(struct platform_device *pdev)
return -ENODEV;
}

static int __devexit gpio_poweroff_remove(struct platform_device *pdev)
static int gpio_poweroff_remove(struct platform_device *pdev)
{
if (gpio_num != -1)
gpio_free(gpio_num);
Expand All @@ -113,7 +113,7 @@ static const struct of_device_id of_gpio_poweroff_match[] = {

static struct platform_driver gpio_poweroff_driver = {
.probe = gpio_poweroff_probe,
.remove = __devexit_p(gpio_poweroff_remove),
.remove = gpio_poweroff_remove,
.driver = {
.name = "poweroff-gpio",
.owner = THIS_MODULE,
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/power/rx51_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ static enum power_supply_property rx51_battery_props[] = {
POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN,
};

static int __devinit rx51_battery_probe(struct platform_device *pdev)
static int rx51_battery_probe(struct platform_device *pdev)
{
struct rx51_device_info *di;
int ret;
Expand All @@ -224,7 +224,7 @@ static int __devinit rx51_battery_probe(struct platform_device *pdev)
return 0;
}

static int __devexit rx51_battery_remove(struct platform_device *pdev)
static int rx51_battery_remove(struct platform_device *pdev)
{
struct rx51_device_info *di = platform_get_drvdata(pdev);

Expand All @@ -237,7 +237,7 @@ static int __devexit rx51_battery_remove(struct platform_device *pdev)

static struct platform_driver rx51_battery_driver = {
.probe = rx51_battery_probe,
.remove = __devexit_p(rx51_battery_remove),
.remove = rx51_battery_remove,
.driver = {
.name = "rx51-battery",
.owner = THIS_MODULE,
Expand Down

0 comments on commit 0f5e7ee

Please sign in to comment.