From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EDE263E9287 for ; Wed, 27 May 2026 10:48:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779878894; cv=none; b=Mu2Mhz9BZmwv/XwB45N/IBAeCIHrznKQUQu4CM/DND6ZKPM6VFZCQ/oukhJj7W2fxfcUsLX0MStbP0KHBGnKcnOPBltQgA3z0yJbhUnF5a1sUUSeYD2hc9WwicbBRw7N4PyYyWC3Of3O3tB5k3lBuUwl0jDbOaKbm/Od5L1cKbg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779878894; c=relaxed/simple; bh=sStsr3zRrusdo0lhnPobGKdrf4vE6dbHnWhNS7oBXFc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DQ4H4akWXlOtUAt9TCIIgLsWBrBkuzzgG/MtYezRw3o9UttWfThao4Tih2mZj5kRrTy1Y50kfQUVCO30Rc6DPcEP8wT+S3gZxmP8MeIYG6sAP1OSQB5yel4QiLB9vZFlifA1s7MlI3oOFw0BUtWoGcJ2o+TDD+OpFu6rSZa1s5k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=T7ZrfCGB; arc=none smtp.client-ip=209.85.221.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b="T7ZrfCGB" Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-45ea19f412aso3657332f8f.3 for ; Wed, 27 May 2026 03:48:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1779878889; x=1780483689; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dzF2QN38NXAYoyHFFiCCWu/lVdHTY6zBrykRohf03LQ=; b=T7ZrfCGBtRdWl3ucZRcT8cvR8BlrOQpyD+aZ3D78KFYwkp/pQPuzBMI3tz2EX7V/pb bBEqSIkdw8HbaM+og5UjHeKsgj/5em0sQ/FvAur/Vy97DvAw13ehOyYT+LPpIk9coda4 cPPbipOEjF3VjN8HkuYZ1ev8jbm03ENXyXcTtDlurTYtXxKRYXjmgAABJC5yill1otCN zklD2EQO0YJo11Ua5bnpKqYsgzhOJoqSHHSz4H8srjaBV3/cTt9AJXckkaErXhSlFGvI Hs4tgPv9hrtan0UKukvzG6KrPXGlbNUZ//ZcDpE11hjYsrX6TLDxcoXQBvCMZ2Tw46c8 FdQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779878889; x=1780483689; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=dzF2QN38NXAYoyHFFiCCWu/lVdHTY6zBrykRohf03LQ=; b=KAb18/CND3LPAsAKHN2GB8gh+3LnVfNd1O0/x3vVx/i5TbYPBwZ0eiVpmFkDmBXBUV yj3C8Tq/c5T1RVAxV2CZDxJCjzHU3bvAl1EGBpdikccklomQV8WOtFYLyOfEnJM7b7eE zwFVXMlVzc8l4kZ5/SfEE9QnXoH3qdmQKt3e25p8VmTsf5BqZD7gSVe7KiJVX4ZWT+18 3DJcMOOBFHrq2ZyfkKbi7EBxk8wi7QHTaC4nneMzso4wkEqrFaL53GvCOHlDJGuec69w 3ix3TtEdukXwuwW/+uhm1d9Q04/F8LIXgKjyoetxkRswclHy12uKZfQy//TigLLOMorp eaDg== X-Gm-Message-State: AOJu0YxlqrGETOMhndRa3miKI+PzaOdNqo3L8R4uR3d4sl+of8kI9gvw WTbb+IVjr6YZl8sBGU6/iT8IbqF7O95cWO+7l+2I1xoeIgs1wcE8zNbRBBXL++TSjIg= X-Gm-Gg: Acq92OHDZQLTpCuVvKtBghyPv5DVZM2uo6mJ+yyNtHkUPJnEgD9Rn49ytqyo2Rq/4H/ OSpzeyXVd6ZfyQW7JAn+R8gKz4W9J4vP09WucOuA2ndn3q/qzFSMf2X6qWQ7tHiartTNMxTZhaM BOC/pw9wy8gup5XjKncQJfyWLt4oKxp2YXR1m5w2d8XfvgBRCFsNliqR19n9WByonPQMFuW/fFJ uR32etG2xm8efpG9cJJqSq9RxpUJhmZ7iS4rTnyAKdyVRmtk3M/x2TB4rsNsTsm1wgVgCk4K3+F /2m8IEJ2yxgDjcdljGeaZC5yvUplDhMZypdH2EKQ0swpggDTbY4lYc6w1aSaO9gO6Gn1lVs6mm+ YH5iD2IGQqFa4KU6vkKhyl6/xBV1bWJe0xr3q2+vXICiMrCPvCr+g1viH6zqXdjxE15MawaCN9g GXrDO/7lpDjVbD6rLLA7NlZR1nXLpGyhMHCKeMVxeUmZ4xk3BhdISbYvqn6I0/dxyYkjd6sve4B ADOa0e0Ddp4VslD22svpSRXNA== X-Received: by 2002:a5d:5d82:0:b0:454:a12c:6cdb with SMTP id ffacd0b85a97d-45eb36b0b6cmr37961795f8f.2.1779878888923; Wed, 27 May 2026 03:48:08 -0700 (PDT) Received: from localhost (p200300f65f47db041edccd9970843bb8.dip0.t-ipconnect.de. [2003:f6:5f47:db04:1edc:cd99:7084:3bb8]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-45edb5584b8sm4892162f8f.11.2026.05.27.03.48.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 May 2026 03:48:08 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Liam Girdwood , Mark Brown Cc: linux-kernel@vger.kernel.org Subject: [PATCH v1 3/3] regulator: Unify usage of space and comma in platform_device_id arrays Date: Wed, 27 May 2026 12:47:46 +0200 Message-ID: X-Mailer: git-send-email 2.47.3 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=3320; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=sStsr3zRrusdo0lhnPobGKdrf4vE6dbHnWhNS7oBXFc=; b=owGbwMvMwMXY3/A7olbonx/jabUkhiyx07dFtjFWs3PK1X8wb+oOvR7k67Zec4O3WKDopm97N jhHcgt1MhqzMDByMciKKbLYN67JtKqSi+xc++8yzCBWJpApDFycAjCR16zs/9O3XlH5n/ljYmP7 re8scg+e/2yvub/Yv++7nYPN0v0X09njZtS4753xwf3M89XBc+d0X7c305uma2uRvLrzbruO66m b5zbY8/wQrtb1NPgw+dOm56tkdBf6WP9Zr+x2qaxg/+WtWSysKl/3KqXsUlxcaRj+TZ5lpe4Svp +vBA4umeqgoSqhHuR4+njuy++yVnVH2s5fvuhqyVZ9xGC261XenBMK+7r7mKakC2wMNH6S+m5h8 rLw3V9E52jf5y8y7/EP47OqUb0eZGVw0nB3qPEjw1bjsMx4zxKR8pzujMIv17Pf73mx07FYYIf8 9dXcbv/1ZvGx2YatNbs0rfhASIr9u+iu1KcxkeZd/n8DAA== X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit After converting all these arrays to use named initializers and fixing coding style en passant, adapt the coding style also for those drivers that already used named initializers before for consistency. Signed-off-by: Uwe Kleine-König (The Capable Hub) --- drivers/regulator/hi6421-regulator.c | 2 +- drivers/regulator/hi6421v530-regulator.c | 2 +- drivers/regulator/hi6421v600-regulator.c | 2 +- drivers/regulator/hi655x-regulator.c | 2 +- drivers/regulator/max77620-regulator.c | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/regulator/hi6421-regulator.c b/drivers/regulator/hi6421-regulator.c index cd06030c3587..3373c4fdbddf 100644 --- a/drivers/regulator/hi6421-regulator.c +++ b/drivers/regulator/hi6421-regulator.c @@ -571,7 +571,7 @@ static int hi6421_regulator_probe(struct platform_device *pdev) static const struct platform_device_id hi6421_regulator_table[] = { { .name = "hi6421-regulator" }, - {}, + { } }; MODULE_DEVICE_TABLE(platform, hi6421_regulator_table); diff --git a/drivers/regulator/hi6421v530-regulator.c b/drivers/regulator/hi6421v530-regulator.c index 1822f5daf6ce..7f4fc7175bbb 100644 --- a/drivers/regulator/hi6421v530-regulator.c +++ b/drivers/regulator/hi6421v530-regulator.c @@ -187,7 +187,7 @@ static int hi6421v530_regulator_probe(struct platform_device *pdev) static const struct platform_device_id hi6421v530_regulator_table[] = { { .name = "hi6421v530-regulator" }, - {}, + { } }; MODULE_DEVICE_TABLE(platform, hi6421v530_regulator_table); diff --git a/drivers/regulator/hi6421v600-regulator.c b/drivers/regulator/hi6421v600-regulator.c index e7c8bc10cf24..c42858c93b47 100644 --- a/drivers/regulator/hi6421v600-regulator.c +++ b/drivers/regulator/hi6421v600-regulator.c @@ -276,7 +276,7 @@ static int hi6421_spmi_regulator_probe(struct platform_device *pdev) static const struct platform_device_id hi6421_spmi_regulator_table[] = { { .name = "hi6421v600-regulator" }, - {}, + { } }; MODULE_DEVICE_TABLE(platform, hi6421_spmi_regulator_table); diff --git a/drivers/regulator/hi655x-regulator.c b/drivers/regulator/hi655x-regulator.c index 1d8211f635b7..b2b454b6a18c 100644 --- a/drivers/regulator/hi655x-regulator.c +++ b/drivers/regulator/hi655x-regulator.c @@ -198,7 +198,7 @@ static int hi655x_regulator_probe(struct platform_device *pdev) static const struct platform_device_id hi655x_regulator_table[] = { { .name = "hi655x-regulator" }, - {}, + { } }; MODULE_DEVICE_TABLE(platform, hi655x_regulator_table); diff --git a/drivers/regulator/max77620-regulator.c b/drivers/regulator/max77620-regulator.c index 57c54472ec5b..5099c372eea5 100644 --- a/drivers/regulator/max77620-regulator.c +++ b/drivers/regulator/max77620-regulator.c @@ -902,10 +902,10 @@ static const struct dev_pm_ops max77620_regulator_pm_ops = { }; static const struct platform_device_id max77620_regulator_devtype[] = { - { .name = "max77620-pmic", }, - { .name = "max20024-pmic", }, - { .name = "max77663-pmic", }, - {}, + { .name = "max77620-pmic" }, + { .name = "max20024-pmic" }, + { .name = "max77663-pmic" }, + { } }; MODULE_DEVICE_TABLE(platform, max77620_regulator_devtype); -- 2.47.3