[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <584BDB47-100E-4DB6-B5F5-A701FFC8C096@goldelico.com>
Date: Fri, 8 Sep 2017 19:44:00 +0200
From: "H. Nikolaus Schaller" <hns@...delico.com>
To: Pali Rohár <pali.rohar@...il.com>
Cc: Liam Breck <liam@...workimprov.net>,
Sebastian Reichel <sre@...nel.org>,
"Andrew F. Davis" <afd@...com>,
Linux PM mailing list <linux-pm@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Discussions about the Letux Kernel
<letux-kernel@...nphoenux.org>, kernel@...a-handheld.com
Subject: Re: [PATCH resend v2] power: supply: bq27xxx: enable writing capacity values for bq27421
> Am 08.09.2017 um 19:40 schrieb Pali Rohár <pali.rohar@...il.com>:
>
> On Friday 08 September 2017 19:38:37 H. Nikolaus Schaller wrote:
>> and here is the result:
>>
>>> root@...ux:~# dmesg|fgrep bq27
>>> [ 10.391235] bq27xxx_battery_setup
>>> [ 10.391265] bq27xxx_battery_setup: dm_regs=bf0520e0
>>> [ 10.393798] (NULL device *): hwmon: 'bq27500-1-0' is not a valid name attribute, please fix
>
> Hi! IIRC hwmon name cannot contain '-'. Use '_' instead.
Yes. I'd like to see it fixed as well...
AFAIR it is a general problem outside of battery drivers and IMHO there is some note somewhere.
Nobody "uses" a '-'. It is some logic that automatically creates node names which hwmon rejects.
BR,
Nikolaus
Powered by blists - more mailing lists