summaryrefslogtreecommitdiffstats
path: root/lib/kobject.c
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2018-07-06 13:50:31 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-07 17:20:47 +0200
commit448a5a552f336bd7b847b1951ffd15eb2e7167a3 (patch)
tree600f0b44485f18b85c27ea5edafc108382b5b9ff /lib/kobject.c
parent166126c1e54d927c2e8efa2702d420e0ce301fd9 (diff)
downloadlinux-448a5a552f336bd7b847b1951ffd15eb2e7167a3.tar.gz
linux-448a5a552f336bd7b847b1951ffd15eb2e7167a3.tar.bz2
linux-448a5a552f336bd7b847b1951ffd15eb2e7167a3.zip
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