mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
pinctrl: qcom: Drop unnecessary bitmap_fill() call
Drop an unnecessary bitmap_fill() call from msm_gpio_irq_init_valid_mask(), this is unnecessary because gpiochip_allocate_mask() already does this. Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com> Acked-by: Linus Walleij <linusw@kernel.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com> Link: https://patch.msgid.link/20260623122732.6439-1-johannes.goede@oss.qualcomm.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
This commit is contained in:
parent
8a76291236
commit
72323d7dc5
|
|
@ -1035,8 +1035,6 @@ static void msm_gpio_irq_init_valid_mask(struct gpio_chip *gc,
|
|||
const struct msm_pingroup *g;
|
||||
int i;
|
||||
|
||||
bitmap_fill(valid_mask, ngpios);
|
||||
|
||||
for (i = 0; i < ngpios; i++) {
|
||||
g = &pctrl->soc->groups[i];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user