Messages in this thread | | | From | Biju Das <> | Subject | RE: [PATCH 1/2] power: supply: bq2515x: Simpilfy bq2515x_read_properties() and probe() | Date | Sun, 10 Sep 2023 07:03:05 +0000 |
| |
Hi Andy Shevchenko,
> Subject: Re: [PATCH 1/2] power: supply: bq2515x: Simpilfy > bq2515x_read_properties() and probe() > > On Sat, Sep 02, 2023 at 09:05:17PM +0100, Biju Das wrote: > > Add struct bq2515x_info and replace device_id->info in struct > > bq2515x_device. > > > > Simpilfy bq2515x_read_properties() and probe() by adding struct > > bq2425x_chip_info as match data for OF/ID tables and use > > i2c_get_match_data for retrieving match data instead of ID lookup. > > > > Drop enum bq2515x_id as there is no user. > > ... > > > +/** > > + * struct bq2515x_info - > > Missing description. I checked this and unfortunately other structures in this driver are not adding description. So, for consistency, I am not doing it here.
Cheers, Biju
| |