Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp1374103rdb; Mon, 4 Sep 2023 11:32:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHei+REcdCMxtDmDfpqMB0Rqdm+MxLmBXn9UnN1hTNjazaB+EnyG40pLAKpoM6lVpP880SH X-Received: by 2002:a17:90b:1d86:b0:267:70a8:abff with SMTP id pf6-20020a17090b1d8600b0026770a8abffmr9772041pjb.29.1693852333669; Mon, 04 Sep 2023 11:32:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693852333; cv=none; d=google.com; s=arc-20160816; b=n90DXqG1EYKi6GP/gvfLKbo8fxMTVI503E3cd3nP6DcdMj+svRPRc6+c2E41A5SohA 1QXdYEAzFiok03ax3cAYk4PLp3FN3UuN83EhKXDIES8eC56J3K/xVEtcFLAVBxlvP7RN dnkEBJ8yyFFoYstHYuYSY2l25fw3JB+BQTCyZD1doUcmHV+TwJxI53lf8lZNZDB5TQmC gE7mpcMea360bz+IV7EhNDULodTyHSit3Wv55f4jXSrJgIA+GxesRSt0LL199hdl1/zH So5mQBRL1Pwm5af1rIwbpoTnQUhIx/l3UEF7TfE2hX3VrZ7ztxr/725rIOwoNL31KVgY HjvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=MwLsCFa+rQukiYa+8pBSzjeU3kwINdIj4EPFZfYUuR0=; fh=r3D+D2UlR/6X/S1SJKrj6jD2vxu5Qdn5HTv5Mknp0Ts=; b=tRnMtkTVACm+cjJdAdAtivnOvTnOjbI2xQ8iITWlmMn57l0PB9EFk/F4OKY1RQUbTf iH3l2AOlXJirWWIsCOMobG2VXrUqWLb6WfKspU3pgEnM2ZdKsD1ZMnlx+mbxXZcav6fM 9WeFfG/LiYGwd7RIxKxtZBxVlpEKUHDKrU9gEHbpHwcA0/LExq+5f7nA8i7yxGMkeMC/ gFOZxn1wZ984VzptT4k5Lt5KdnWJAikz9Nm2zR6HFGaWokCZx8YQVGXi6lNu58Pwtpho d3wait492IFMllAZQQ5NlPxxv70NOjblqCo2QZpUbGDI3ehT/x+nBZKghTY8xlJZUUtS 36Bg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t6-20020a17090b018600b002680abd9398si8020907pjs.88.2023.09.04.11.31.58; Mon, 04 Sep 2023 11:32:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233735AbjIBTdq (ORCPT + 99 others); Sat, 2 Sep 2023 15:33:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232340AbjIBTdn (ORCPT ); Sat, 2 Sep 2023 15:33:43 -0400 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 876EACE0; Sat, 2 Sep 2023 12:33:40 -0700 (PDT) X-IronPort-AV: E=Sophos;i="6.02,223,1688396400"; d="scan'208";a="178511807" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 03 Sep 2023 04:33:40 +0900 Received: from localhost.localdomain (unknown [10.226.92.16]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 5E8D64003890; Sun, 3 Sep 2023 04:33:38 +0900 (JST) From: Biju Das To: Sebastian Reichel Cc: Biju Das , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Biju Das , Andy Shevchenko Subject: [PATCH 2/2] power: supply: bq24257_charger: Some cleanups Date: Sat, 2 Sep 2023 20:33:31 +0100 Message-Id: <20230902193331.83672-3-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230902193331.83672-1-biju.das.jz@bp.renesas.com> References: <20230902193331.83672-1-biju.das.jz@bp.renesas.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some cleanups: * Remove trailing comma in the terminator entry for OF/ID/ACPI table. * Drop a space from terminator entry for OF table. Signed-off-by: Biju Das --- drivers/power/supply/bq24257_charger.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/power/supply/bq24257_charger.c b/drivers/power/supply/bq24257_charger.c index 188812f4a79b..801d0d2c5f2e 100644 --- a/drivers/power/supply/bq24257_charger.c +++ b/drivers/power/supply/bq24257_charger.c @@ -1136,7 +1136,7 @@ static const struct i2c_device_id bq24257_i2c_ids[] = { { "bq24250", (kernel_ulong_t)&bq24250_info }, { "bq24251", (kernel_ulong_t)&bq24251_info }, { "bq24257", (kernel_ulong_t)&bq24257_info }, - {}, + {} }; MODULE_DEVICE_TABLE(i2c, bq24257_i2c_ids); @@ -1144,7 +1144,7 @@ static const struct of_device_id bq24257_of_match[] __maybe_unused = { { .compatible = "ti,bq24250", &bq24250_info }, { .compatible = "ti,bq24251", &bq24251_info }, { .compatible = "ti,bq24257", &bq24257_info }, - { }, + {} }; MODULE_DEVICE_TABLE(of, bq24257_of_match); @@ -1153,7 +1153,7 @@ static const struct acpi_device_id bq24257_acpi_match[] = { { "BQ242500", (kernel_ulong_t)&bq24250_info }, { "BQ242510", (kernel_ulong_t)&bq24251_info }, { "BQ242570", (kernel_ulong_t)&bq24257_info }, - {}, + {} }; MODULE_DEVICE_TABLE(acpi, bq24257_acpi_match); #endif -- 2.25.1