From patchwork Sat May 30 16:40:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 11580497 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6492860D for ; Sat, 30 May 2020 16:40:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 48BCC2070E for ; Sat, 30 May 2020 16:40:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728998AbgE3Qkf (ORCPT ); Sat, 30 May 2020 12:40:35 -0400 Received: from mga04.intel.com ([192.55.52.120]:33181 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728797AbgE3Qke (ORCPT ); Sat, 30 May 2020 12:40:34 -0400 IronPort-SDR: IMgn3zVL4j5nhkKM+rwJS/3BnvAWGmhqNXVTiVyxZH72cn9HF4+dvspdywb+I2oudAJ3MhCx1y wKbOxLTsBt9Q== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2020 09:40:34 -0700 IronPort-SDR: pBcmbwceL4vwrd0iFMvcBWa5H2aGsaXCl1JwbUHAjEBTHsIaKWch7Nrg4sbyqK3CntVWtV82T8 Mg8Lekmca+uw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,452,1583222400"; d="scan'208";a="256812472" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga007.jf.intel.com with ESMTP; 30 May 2020 09:40:32 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 6B2AEBD; Sat, 30 May 2020 19:40:31 +0300 (EEST) From: Andy Shevchenko To: Tobias Schrammm , linux-pm@vger.kernel.org, Sebastian Reichel Cc: Andy Shevchenko , kbuild test robot Subject: [PATCH v1] power: supply: cw2015: Attach OF ID table to the driver Date: Sat, 30 May 2020 19:40:30 +0300 Message-Id: <20200530164030.47884-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org It appears that OF ID table was hanging around without being attached to the driver. Attach it properly. Fixes: b4c7715c10c1 ("power: supply: add CellWise cw2015 fuel gauge driver") Reported-by: kbuild test robot Signed-off-by: Andy Shevchenko Acked-By: Tobias Schramm Tested-By: Tobias Schramm --- drivers/power/supply/cw2015_battery.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/supply/cw2015_battery.c b/drivers/power/supply/cw2015_battery.c index 19f62ea957ee..0146f1bfc29b 100644 --- a/drivers/power/supply/cw2015_battery.c +++ b/drivers/power/supply/cw2015_battery.c @@ -734,6 +734,7 @@ MODULE_DEVICE_TABLE(of, cw2015_of_match); static struct i2c_driver cw_bat_driver = { .driver = { .name = "cw2015", + .of_match_table = cw2015_of_match, .pm = &cw_bat_pm_ops, }, .probe_new = cw_bat_probe,