diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2018-07-06 13:50:31 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-07 17:20:47 +0200 |
commit | 448a5a552f336bd7b847b1951ffd15eb2e7167a3 (patch) | |
tree | 600f0b44485f18b85c27ea5edafc108382b5b9ff /lib/kobject.c | |
parent | 166126c1e54d927c2e8efa2702d420e0ce301fd9 (diff) |
drivers: base: cacheinfo: use OF property_read_u32 instead of get_property,read_number
of_property_read_u32 searches for a property in a device node and read
a 32-bit value from it. Instead of using of_get_property to get the
property and then read 32-bit value using of_read_number, we can
simplify it by using of_property_read_u32.
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions