i2c: make i2c_check_addr_validity() static
authorWolfram Sang <wsa@the-dreams.de>
Tue, 20 Mar 2018 20:54:38 +0000 (21:54 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 24 Mar 2018 13:07:23 +0000 (14:07 +0100)
commit398432eddea4197880a067718e2711d3f5f11d18
treef93780885209532bf9f06c17c9ac8df39928a621
parenta1de3253a8840bf373e7c6330f21b7807c6c0536
i2c: make i2c_check_addr_validity() static

After previous refactoring, there is only one user in the same file
left. Make the function static now.

[wsa: added 'int' to bare 'unsigned']
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core-base.c
drivers/i2c/i2c-core.h