[PATCH 0/2] soc: samsung: be a module!

Krzysztof Kozlowski krzysztof.kozlowski at canonical.com
Fri Sep 17 10:51:32 PDT 2021


Hi,

A question - what is the convention for naming modules: underscores '_' or
hyphens '-'?

The C-unit file already uses a hyphen "exynos-chipid.c", so I could
create a module named:
1. exynos_chipid
2. soc-exynos-chipid
3. exynos-chip-id

The Linux device name is "exynos-chipid".

Best regards,
Krzysztof


Krzysztof Kozlowski (2):
  soc: export soc_device_to_device symbol
  soc: samsung: exynos-chipid: convert to a module

 drivers/base/soc.c                   |  1 +
 drivers/soc/samsung/Kconfig          |  3 ++-
 drivers/soc/samsung/Makefile         |  3 ++-
 drivers/soc/samsung/exynos-chipid.c  | 11 ++++++++++-
 drivers/soc/samsung/exynos5422-asv.c |  1 +
 5 files changed, 16 insertions(+), 3 deletions(-)

-- 
2.30.2




More information about the linux-arm-kernel mailing list