i2c: i801: Improve handling platform data for tco device
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 29 Nov 2021 19:53:14 +0000 (20:53 +0100)
committerWolfram Sang <wsa@kernel.org>
Mon, 29 Nov 2021 22:22:02 +0000 (23:22 +0100)
commit2352b05fdf1a225d103044cceb9a7456624ea0ae
tree1fdde266a5138dec5fbc43e498f610446fe50cab
parent36af188f795bd1b0d794dd735623979dc6b698d3
i2c: i801: Improve handling platform data for tco device

The platform data structures are used in the respective i801_add_tco
functions only. Therefore we can make the definitions local to these
functions.

Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-i801.c