Skip to content
Commit a1671af2 authored by Wolfram Sang's avatar Wolfram Sang
Browse files

i2c: of: simplify reading the "reg" property



of_get_property() is a bit cumbersome to use. Replace it with the newer
of_property_read_u32() for more readable code.

Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 4f3ae38a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment