[PATCH 0/2] Refactor the pinctrl driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This series refactor the target specific pinctrl driver for qcom
by reusing the generic pinfunction struct, pingroup struct and the defined
macros to avoid code repetition.
The series is rebased on linux-next and based on all the review and
comments from different versions of [1].

[1] https://lore.kernel.org/linux-arm-msm/1681966915-15720-1-git-send-email-quic_rohiagar@xxxxxxxxxxx/

Thanks,
Rohit.

Rohit Agarwal (2):
  pinctrl: qcom: Remove the msm_function struct
  pinctrl: qcom: Refactor generic qcom pinctrl driver

 drivers/pinctrl/qcom/pinctrl-apq8064.c  | 104 +++---
 drivers/pinctrl/qcom/pinctrl-apq8084.c  | 264 ++++++++-------
 drivers/pinctrl/qcom/pinctrl-ipq4019.c  | 104 +++---
 drivers/pinctrl/qcom/pinctrl-ipq5332.c  | 206 ++++++------
 drivers/pinctrl/qcom/pinctrl-ipq6018.c  | 260 +++++++--------
 drivers/pinctrl/qcom/pinctrl-ipq8064.c  | 114 +++----
 drivers/pinctrl/qcom/pinctrl-ipq8074.c  | 240 +++++++-------
 drivers/pinctrl/qcom/pinctrl-ipq9574.c  | 176 +++++-----
 drivers/pinctrl/qcom/pinctrl-mdm9607.c  | 276 ++++++++--------
 drivers/pinctrl/qcom/pinctrl-mdm9615.c  |  90 +++--
 drivers/pinctrl/qcom/pinctrl-msm.c      |  13 +-
 drivers/pinctrl/qcom/pinctrl-msm.h      |  42 ++-
 drivers/pinctrl/qcom/pinctrl-msm8226.c  | 156 +++++----
 drivers/pinctrl/qcom/pinctrl-msm8660.c  | 252 +++++++-------
 drivers/pinctrl/qcom/pinctrl-msm8909.c  | 268 ++++++++-------
 drivers/pinctrl/qcom/pinctrl-msm8916.c  | 556 ++++++++++++++++---------------
 drivers/pinctrl/qcom/pinctrl-msm8953.c  | 424 ++++++++++++------------
 drivers/pinctrl/qcom/pinctrl-msm8960.c  | 464 +++++++++++++-------------
 drivers/pinctrl/qcom/pinctrl-msm8976.c  | 212 ++++++------
 drivers/pinctrl/qcom/pinctrl-msm8994.c  | 564 ++++++++++++++++----------------
 drivers/pinctrl/qcom/pinctrl-msm8996.c  | 508 ++++++++++++++--------------
 drivers/pinctrl/qcom/pinctrl-msm8998.c  | 380 +++++++++++----------
 drivers/pinctrl/qcom/pinctrl-msm8x74.c  | 474 +++++++++++++--------------
 drivers/pinctrl/qcom/pinctrl-qcm2290.c  | 230 +++++++------
 drivers/pinctrl/qcom/pinctrl-qcs404.c   | 388 +++++++++++-----------
 drivers/pinctrl/qcom/pinctrl-qdf2xxx.c  |   6 +-
 drivers/pinctrl/qcom/pinctrl-qdu1000.c  | 249 +++++++-------
 drivers/pinctrl/qcom/pinctrl-sa8775p.c  | 308 +++++++++--------
 drivers/pinctrl/qcom/pinctrl-sc7180.c   | 254 +++++++-------
 drivers/pinctrl/qcom/pinctrl-sc7280.c   | 322 +++++++++---------
 drivers/pinctrl/qcom/pinctrl-sc8180x.c  | 286 ++++++++--------
 drivers/pinctrl/qcom/pinctrl-sc8280xp.c | 358 ++++++++++----------
 drivers/pinctrl/qcom/pinctrl-sdm660.c   | 387 +++++++++++-----------
 drivers/pinctrl/qcom/pinctrl-sdm670.c   | 284 ++++++++--------
 drivers/pinctrl/qcom/pinctrl-sdm845.c   | 286 ++++++++--------
 drivers/pinctrl/qcom/pinctrl-sdx55.c    | 190 ++++++-----
 drivers/pinctrl/qcom/pinctrl-sdx65.c    | 194 ++++++-----
 drivers/pinctrl/qcom/pinctrl-sm6115.c   | 162 +++++----
 drivers/pinctrl/qcom/pinctrl-sm6125.c   | 282 ++++++++--------
 drivers/pinctrl/qcom/pinctrl-sm6350.c   | 296 ++++++++---------
 drivers/pinctrl/qcom/pinctrl-sm6375.c   | 358 ++++++++++----------
 drivers/pinctrl/qcom/pinctrl-sm8150.c   | 286 ++++++++--------
 drivers/pinctrl/qcom/pinctrl-sm8250.c   | 258 +++++++--------
 drivers/pinctrl/qcom/pinctrl-sm8350.c   | 298 ++++++++---------
 drivers/pinctrl/qcom/pinctrl-sm8450.c   | 300 +++++++++--------
 drivers/pinctrl/qcom/pinctrl-sm8550.c   | 320 +++++++++---------
 46 files changed, 6055 insertions(+), 6394 deletions(-)

-- 
2.7.4




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux