power: supply: bq27xxx: Switch to a simpler IDA interface
authorAndrew Davis <afd@ti.com>
Tue, 23 Jan 2024 15:09:10 +0000 (09:09 -0600)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 26 Jan 2024 23:49:17 +0000 (00:49 +0100)
commit67d85ee4bc749ee94cdfe9638618a506638d1926
treebe9f64fd691af52bd27b847d7e811d6490c9e7f2
parent6613476e225e090cc9aad49be7fa504e290dd33d
power: supply: bq27xxx: Switch to a simpler IDA interface

We don't need to specify any ranges when allocating IDs so we can switch
to ida_alloc() and ida_free() instead of the ida_simple_ counterparts.

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240123150914.308510-1-afd@ti.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/bq27xxx_battery_i2c.c