Skip to content

Commit d594de8

Browse files
javiercarrascocruzandy-shev
authored andcommitted
pinctrl: intel: platform: use semicolon instead of comma in ncommunities assignment
Substitute the comma with a semicolon in the `ncommunities` assignment for better readability and consistency with common C coding style. Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
1 parent 16a6d2e commit d594de8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pinctrl/intel/pinctrl-intel-platform.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ static int intel_platform_pinctrl_prepare_soc_data(struct device *dev,
158158
int ret;
159159

160160
/* Version 1.0 of the specification assumes only a single community per device node */
161-
ncommunities = 1,
161+
ncommunities = 1;
162162
communities = devm_kcalloc(dev, ncommunities, sizeof(*communities), GFP_KERNEL);
163163
if (!communities)
164164
return -ENOMEM;

0 commit comments

Comments
 (0)