commit | 90b84c057414cbcca53337c64afc348541989d7d | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Thu May 18 23:11:40 2017 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Fri Jun 02 22:52:51 2017 +0200 |
tree | 27cc21b1fbe30f69fa3c1681e3e66e6cceada85b | |
parent | d2f31c49cf7cfe8f02b70614ae56a39b0c1d8a75 [diff] |
i2c: sh_mobile: drop needless check for of_node After removal of platform_data support, we can simplify OF handling. of_match_device() evaluates to NULL if !CONFIG_OF or if there is no node pointer for that device, so we can remove the check for the node ptr. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>