Skip to content

ARM: SAMSUNG: Add __init attribute to functions calling s3c_set_platdata

Kukjin Kim linux-arm-kernel linux-samsung-soc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] ARM: SAMSUNG: Add __init attribute to functions calling s3c_set_platdata
Quoted 13 lines · Tushar Behera

The function s3c_set_platdata is defined with __init attribute, hence the functions calling s3c_set_platdata should also be defined with __init attribute.

Even though all the modified functions are called from xxx_machine_init() functions, it is still better to define each of them with __init attribute.

Tushar Behera (4):
ARM: EXYNOS: Add __init attribute to nuri_camera_init()
ARM: EXYNOS: Add __init attribute to universal_camera_init()
ARM: SAMSUNG: Add __init attribute to samsung_bl_set()
ARM: SAMSUNG: Add __init attribute to xxx_set_platdata() wrappers

Quoted 6 lines
  arch/arm/mach-exynos/mach-nuri.c           |    2 +-
  arch/arm/mach-exynos/mach-universal_c210.c |    2 +-
  arch/arm/plat-samsung/dev-backlight.c      |    2 +-
  arch/arm/plat-samsung/devs.c               |    4 ++--
  4 files changed, 5 insertions(+), 5 deletions(-)

Looks good to me, applied.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.