mbox series

[0/2] pinctrl: intel: platform: fix error path in device_for_each_child_node()

Message ID 20240926-intel-pinctrl-platform-scoped-v1-0-5ee4c936eea3@gmail.com
Headers show
Series pinctrl: intel: platform: fix error path in device_for_each_child_node() | expand

Message

Javier Carrasco Sept. 26, 2024, 2:11 p.m. UTC
This series fixes an error path where the reference of a child node is
not decremented upon early return. When at it, a trivial comma/semicolon
substitution I found by chance has been added to improve code clarity.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
Javier Carrasco (2):
      pinctrl: intel: platform: fix error path in device_for_each_child_node()
      pinctrl: intel: platform: use semicolon instead of comma in ncommunities assignment

 drivers/pinctrl/intel/pinctrl-intel-platform.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
base-commit: 92fc9636d1471b7f68bfee70c776f7f77e747b97
change-id: 20240926-intel-pinctrl-platform-scoped-68d000ba3c1d

Best regards,