i2c: Get rid of i2c_board_info->archdata
authorBoris Brezillon <boris.brezillon@bootlin.com>
Sun, 25 Mar 2018 12:49:01 +0000 (14:49 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 15 May 2018 08:42:20 +0000 (10:42 +0200)
commit4fad8868afe7b168c34fab3d959d875f4f8b3624
tree5f28701db11698c863bd85870c7f8dcf90fa23ab
parenta80bcb5adcc8aef3ebf9a6e4fdc593c295643499
i2c: Get rid of i2c_board_info->archdata

The only user of i2c_board_info->archdata is the OF parsing code and it
just pass a zero-initialized object which has the same effect as leaving
->archdata to NULL since the client object is allocated with kzalloc().

Get rid of this useless field.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core-base.c
drivers/i2c/i2c-core-of.c
include/linux/i2c.h