diff options
author | Aishwarya R | 2020-04-08 15:33:53 +0530 |
---|---|---|
committer | Wolfram Sang | 2020-04-26 10:31:27 +0200 |
commit | 6b98bf01d2af40141cc7d831a1d2064f6f25e45e (patch) | |
tree | ac3051fe475b253365c2d245f054594494eb54f8 /drivers/scsi/ibmvscsi/ibmvscsi.h | |
parent | 1b9e68533299253f5c7d87ccc4cd39ed0dccb37d (diff) |
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: Aishwarya R <aishwaryarj100@gmail.com>
Tested-by: Erhard Furtner <erhard_f@mailbox.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/scsi/ibmvscsi/ibmvscsi.h')
0 files changed, 0 insertions, 0 deletions