]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf60a417f38b3c27ac49699d5ab3d0375ba49cba1
tree08bac8d942361f352e4a457aa6af2c9b8ac9937f
parent177b77b3cdabe1ae4ae73619faf7de143170292e
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