Skip to content
Commit 6b98bf01 authored by Aishwarya R's avatar Aishwarya R Committed by Wolfram Sang
Browse files

i2c: powermac: Simplify reading the "reg" and "i2c-address" property



Use of_property_read_u32 to read the "reg" and "i2c-address" property
instead of using of_get_property to check the return values.

Signed-off-by: default avatarAishwarya R <aishwaryarj100@gmail.com>
Tested-by: default avatarErhard Furtner <erhard_f@mailbox.org>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 1b9e6853
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment