i2c: copy device properties when using i2c_register_board_info()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 28 Feb 2017 19:10:51 +0000 (11:10 -0800)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 8 Mar 2017 17:05:09 +0000 (18:05 +0100)
commitb0c1e95ab44feaad8831f2c06a3473c974003b49
tree08bac8d942361f352e4a457aa6af2c9b8ac9937f
parent1945250d979203ed326b5a44fd705b6b2c46eec5
i2c: copy device properties when using i2c_register_board_info()

This will allow marking device property lists as __initdata, the same as
board info structures themselves.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-boardinfo.c