Skip to content
Commit b4835527 authored by Philip Richard Oberfichtner's avatar Philip Richard Oberfichtner Committed by Heiko Schocher
Browse files

i2c: Implement i2c_get_chip_by_phandle()



This new function enhances the i2c_get_chip*() toolbox by implementing a
variant that does not require a chip_addr. Instead, the desired device
is pointed to by a phandle.

Signed-off-by: default avatarPhilip Richard Oberfichtner <pro@denx.de>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
parent 31f4ee4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment