summaryrefslogtreecommitdiff
path: root/drivers/i2c/i2c-stub.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2017-05-19 00:11:40 +0300
committerWolfram Sang <wsa@the-dreams.de>2017-06-02 23:52:51 +0300
commit90b84c057414cbcca53337c64afc348541989d7d (patch)
tree27cc21b1fbe30f69fa3c1681e3e66e6cceada85b /drivers/i2c/i2c-stub.c
parentd2f31c49cf7cfe8f02b70614ae56a39b0c1d8a75 (diff)
downloadlinux-90b84c057414cbcca53337c64afc348541989d7d.tar.xz
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>
Diffstat (limited to 'drivers/i2c/i2c-stub.c')
0 files changed, 0 insertions, 0 deletions