commit | 1bf00d7a6dbff0a29eff4f8c022653b2bc9f5b97 | [log] [tgz] |
---|---|---|
author | Tomasz Figa <tomasz.figa@gmail.com> | Tue Sep 23 21:05:40 2014 +0200 |
committer | Tomasz Figa <tomasz.figa@gmail.com> | Sun Nov 09 21:30:14 2014 +0900 |
tree | 99cf95b25d3b0f21c55214832bdfcbfdb6685e93 | |
parent | 94ce944bed8a849a9b83b4e66f0e6e4abc16c457 [diff] |
pinctrl: samsung: Constify samsung_pin_ctrl struct In order to separate initialization constants from runtime data, this patch modifies the driver to store only constant data in samsung_pin_ctrl struct and copy data required at runtime to samsung_pinctrl_drv_data struct. This makes it possible to mark all existing instances of samsung_pin_ctrl struct as const and __initconst. Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>