i2c: copy device properties when using i2c_register_board_info()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 28 Feb 2017 04:09:09 +0000 (20:09 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 1 Apr 2017 16:36:12 +0000 (09:36 -0700)
commit0daaf99d8424f12cdf87e00c435c9cb93667f519
treebfabd8700b2d8d7ceaced6fa2c255c08e3455978
parent00a06c22e9fc0a33ae0b6ca2d47938340dbcd539
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.

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