Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp623953rwr; Thu, 20 Apr 2023 04:23:26 -0700 (PDT) X-Google-Smtp-Source: AKy350YOJnBN21DVjoiuhjFJlF8CicBHb5PIO8+qWBVdhaWDu3fPiggP4tWonhVAzIP2tLvhtglH X-Received: by 2002:a17:90a:8993:b0:246:af1f:62ef with SMTP id v19-20020a17090a899300b00246af1f62efmr1297354pjn.5.1681989805746; Thu, 20 Apr 2023 04:23:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681989805; cv=none; d=google.com; s=arc-20160816; b=qWpLasHtsa1veMnhm7xf5aaMO2+nIKnMEod8mHNAlUN4VkpzW3nFqePTwQ2Y7T/0tF mdknGvVa7flN+3+lBAbotZtENm1F8KLK5uyiw6Nqk7d6vUoHwRz5rsXsQHuWaiH0lBtu x3q9r/LN8DUYAI03L7Hg6P5aS1YgH4vTo/C8Z3NU21txmlgA4CNTU7MUMEPM+MbPfxuR ttLbpwrtMByi26ROhxkJdBmF8rXvu/kuXqvZsjpK0tzbi91uj8SgU5iLgxRfFE7pEi5M KRRFu/HlvpmOxjcBmHg+05Uji4HlM12qp2lrjr05MFqPGR6++7P4ZyE3Jri7YNRuygJH /PrQ== 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 :dkim-signature; bh=m4k5Fd94R9nLjCjAwI4E4MAJpGxclTYpMwHmMXByQv0=; b=yrnCM0UYMfPBIfSqXlh47HUmCGbM2ZNPFTw9UNSMGFslbQNh8RXPFe0Vkn5tDFG6wW Ik7SQ+1uXdmtCTk0cGvHOvD6G19MnRh2Kz1uGLH3rLR1TLv3Jfe+zK09yapJ1Ae4QV4Z ACn+IX3JNPX4fwv6B9HgWS4xkRyKqNCDJJ1R157pUXBZLdx7vlRjB2SR3gCgDi4z5+Sp L2vBc77D8UglhwDrYnNLULlmfK0+wc3GySV3a6xTA2X31N4J5m/+gSHFT0fDCEwDV6Nq iit6y8bpwErevNgkVDDjCjDqynouRF6qwXPYJVJn9fPyn5IefRPa6iq3Fn0jNBVczJLt sZEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=cdLVhWQo; 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=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h191-20020a6383c8000000b00513f9dbbdb9si1480525pge.275.2023.04.20.04.23.13; Thu, 20 Apr 2023 04:23:25 -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; dkim=pass header.i=@9elements.com header.s=google header.b=cdLVhWQo; 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=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234062AbjDTLVW (ORCPT + 99 others); Thu, 20 Apr 2023 07:21:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234108AbjDTLU7 (ORCPT ); Thu, 20 Apr 2023 07:20:59 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39FE7AF14 for ; Thu, 20 Apr 2023 04:19:03 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-3f1763ee85bso5568325e9.2 for ; Thu, 20 Apr 2023 04:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1681989485; x=1684581485; 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=m4k5Fd94R9nLjCjAwI4E4MAJpGxclTYpMwHmMXByQv0=; b=cdLVhWQoxAkHBYdXzMuuUwNvj15Zc8MDSC5ep0imZVcVoFvKyF/XeNtvFIc3omyM0t 0l2kDkuyMSca5eyhK3Cyzy2Nl0mNt1VrOd1rUDpDRhTZ0nEQtzTxiMf67nn3A4eo572h 655YJumRKYb8iGxpO94vSuf+XtmE0ukB+WK2Hlo/tWin7aTjC6oITEvKNpbQHMDlJ/Ez mg/RXOloIXJPIvk9mH6zz3IbeMLhbUwDgsBntAV1nF37Ag7pSsVYNT6o4nLwDP7yjwf6 YSdN8XmTqXx7OyUYXXfefLQQvH1YGl4bGJd++JgsHH38R1MKDy+JDyBC0mgJLG+HKURR nxqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681989485; x=1684581485; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m4k5Fd94R9nLjCjAwI4E4MAJpGxclTYpMwHmMXByQv0=; b=WnRWfFHiUAEJFTCBRoUvpUi9+gyvC5AclEVQ0IkZlmAZd34GsSbzF8d5waN6ZCCuXP 5k0xQ17LGkXg+YVhw+YDwXPbknSkqywa04XdT/SDQuW3+XiBXSheYgIjsfymxuBoDeCr PrEKner+0DriE5XZH8UXpdnwsOdrDxdkK5yYmepoi8+e6OshXMAiUcCL8hQqi3xxzJSd fIidj5QM474W4+sKl/1OAxg5EjwsZCIOhrdOS08RhccT2u7sG8EXIL7YE8KkTe3VesKI Ykg3XHiLPHzYtnTlzL9jURik3iTDuJR2Mn7yPVMvSkvgXe2Zvd8IxK7bKD0XFHzTWXjp oEyw== X-Gm-Message-State: AAQBX9flaJEug7c9/7xwJbbujBtHFl8l5cjHYtDTIppG+hx7goa1wGu8 t/faU4ThT4W1oUCPQwjjQGMKxQ== X-Received: by 2002:adf:e84b:0:b0:2fc:37be:af9c with SMTP id d11-20020adfe84b000000b002fc37beaf9cmr986687wrn.71.1681989484931; Thu, 20 Apr 2023 04:18:04 -0700 (PDT) Received: from stroh80.sec.9e.network (ip-078-094-000-051.um19.pools.vodafone-ip.de. [78.94.0.51]) by smtp.gmail.com with ESMTPSA id h3-20020a5d5043000000b002c70ce264bfsm1680980wrt.76.2023.04.20.04.18.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Apr 2023 04:18:04 -0700 (PDT) From: Naresh Solanki X-Google-Original-From: Naresh Solanki To: Jean Delvare , Guenter Roeck Cc: Naresh Solanki , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] hwmon: (max6639) Add compatible string Date: Thu, 20 Apr 2023 13:17:58 +0200 Message-Id: <20230420111759.2687001-2-Naresh.Solanki@9elements.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230420111759.2687001-1-Naresh.Solanki@9elements.com> References: <20230420111759.2687001-1-Naresh.Solanki@9elements.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Use maxim,max6639 as compatible string for the driver. Signed-off-by: Naresh Solanki ... Changes in V2: - None, Updated DT patch --- drivers/hwmon/max6639.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/hwmon/max6639.c b/drivers/hwmon/max6639.c index 9b895402c80d..ada410bfb7b6 100644 --- a/drivers/hwmon/max6639.c +++ b/drivers/hwmon/max6639.c @@ -618,11 +618,17 @@ MODULE_DEVICE_TABLE(i2c, max6639_id); static DEFINE_SIMPLE_DEV_PM_OPS(max6639_pm_ops, max6639_suspend, max6639_resume); +static const struct of_device_id max6639_of_match[] = { + { .compatible = "maxim,max6639", }, + { }, +}; + static struct i2c_driver max6639_driver = { .class = I2C_CLASS_HWMON, .driver = { .name = "max6639", .pm = pm_sleep_ptr(&max6639_pm_ops), + .of_match_table = max6639_of_match, }, .probe_new = max6639_probe, .id_table = max6639_id, -- 2.39.1