• Tomasz Figa's avatar
    pinctrl: samsung: Constify samsung_pin_ctrl struct · 1bf00d7a
    Tomasz Figa authored
    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: default avatarTomasz Figa <tomasz.figa@gmail.com>
    1bf00d7a
pinctrl-exynos.c 36.9 KB