i2c: of: remove duplicated check for valid address
authorWolfram Sang <wsa@the-dreams.de>
Thu, 18 Jan 2018 12:11:32 +0000 (13:11 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 26 Feb 2018 19:40:46 +0000 (20:40 +0100)
commit4f3ae38acb3c93cbd8aab9a9fb76d5f661ab578d
tree337da4e5f9ed8b18311ef18fb18cfba5fdd3c9d3
parentc49b0e077594b2cb5531eacd88664badb2635e7f
i2c: of: remove duplicated check for valid address

The very same check is done when calling i2c_new_device(). Remove it
here to avoid code duplication.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core-of.c