iio: dac: mcp4725: Replace variable 'id' from struct mcp4725_data
authorBiju Das <biju.das.jz@bp.renesas.com>
Sun, 3 Sep 2023 11:55:45 +0000 (12:55 +0100)
committerJonathan Cameron <jonathan.cameron@huawei.com>
Tue, 12 Sep 2023 09:42:04 +0000 (10:42 +0100)
commit002d546fff4f83648903eada2b6226d314374fdb
tree0d4c24ca969e9d629b00af837cdb235907580f6d
parentdcc3ac1381eff05e4ab546a42798dd6837b295a7
iio: dac: mcp4725: Replace variable 'id' from struct mcp4725_data

Replace the variable 'id' from struct mcp4725_data with local variable
chip_id in probe() as the id variable is not used elsewhere in the
driver.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230903115548.59306-2-biju.das.jz@bp.renesas.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/mcp4725.c