Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1198423 > unrolled thread
| Started by | Pavel Machek <pavel@ucw.cz> |
|---|---|
| First post | 2015-08-02 09:30 +0200 |
| Last post | 2015-08-02 09:30 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] rx51-battery: Set name to rx51-battery Pavel Machek <pavel@ucw.cz> - 2015-08-02 09:30 +0200
| From | Pavel Machek <pavel@ucw.cz> |
|---|---|
| Date | 2015-08-02 09:30 +0200 |
| Subject | Re: [PATCH] rx51-battery: Set name to rx51-battery |
| Message-ID | <pSVSy-5rp-5@gated-at.bofh.it> |
On Tue 2015-07-28 20:44:41, Pali Rohár wrote: > For compatibility between board code and DT, set battery name to same value. > > Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Acked-by: Pavel Machek <pavel@ucw.cz> > --- > drivers/power/rx51_battery.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/power/rx51_battery.c b/drivers/power/rx51_battery.c > index ac62069..af9383d 100644 > --- a/drivers/power/rx51_battery.c > +++ b/drivers/power/rx51_battery.c > @@ -215,7 +215,7 @@ static int rx51_battery_probe(struct platform_device *pdev) > platform_set_drvdata(pdev, di); > > di->dev = &pdev->dev; > - di->bat_desc.name = dev_name(&pdev->dev); > + di->bat_desc.name = "rx51-battery"; > di->bat_desc.type = POWER_SUPPLY_TYPE_BATTERY; > di->bat_desc.properties = rx51_battery_props; > di->bat_desc.num_properties = ARRAY_SIZE(rx51_battery_props); -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to top | Article view | linux.kernel
csiph-web