Skip to content

Input: mtk-pmic-keys: probe cleanups

Rosen Penev linux-arm-kernel linux-input linux-mediatek lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v11 patch 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Input: mtk-pmic-keys: use of_device_get_match_data()drivers/input/keyboard/mtk-pmic-keys.c+1 -41 reply
2/2Input: mtk-pmic-keys: Count available keys during probe instead of pre-countingdrivers/input/keyboard/mtk-pmic-keys.c+34 -373 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchChen-Yu Tsai
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCHv2 0/2] Input: mtk-pmic-keys: probe cleanups

Replace an open-coded of_match_device() lookup with of_device_get_match_data(), then rework the key-counting logic to iterate child nodes in a single pass instead of pre-counting.

v2: split patches up and add irq checks.

Rosen Penev (2):
Input: mtk-pmic-keys: use of_device_get_match_data()
Input: mtk-pmic-keys: Count available keys during probe instead of
pre-counting

 drivers/input/keyboard/mtk-pmic-keys.c | 76 ++++++++++++--------------
 1 file changed, 35 insertions(+), 41 deletions(-)
Signature · 1 line
2.55.0