Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1198415 > unrolled thread
| Started by | "Andrew F. Davis" <afd@ti.com> |
|---|---|
| First post | 2015-08-02 19:50 +0200 |
| Last post | 2015-08-02 19:50 +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 v2 5/6] power: bq27xxx_battery: Add support for additional bq27xxx family devices "Andrew F. Davis" <afd@ti.com> - 2015-08-02 19:50 +0200
| From | "Andrew F. Davis" <afd@ti.com> |
|---|---|
| Date | 2015-08-02 19:50 +0200 |
| Subject | Re: [PATCH v2 5/6] power: bq27xxx_battery: Add support for additional bq27xxx family devices |
| Message-ID | <pT5yy-2Cb-29@gated-at.bofh.it> |
On 08/02/2015 02:38 AM, Pavel Machek wrote:
>
>> +#define INVALID_REG_ADDR 0xff
>
>> +static u8 bq27000_regs[] = {
>> + 0x00, /* CONTROL */
>> + 0x06, /* TEMP */
>> + 0xff, /* INT TEMP - NA*/
>
> I'd use the INVALID_REG_ADDR macro here.. Makes it more clear what is
> going on (and you may change it to -1 in future, for example).
>
That works, I'll do that.
Thanks,
--
Andrew F. Davis
--
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