Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4072718rwe; Tue, 30 Aug 2022 04:16:29 -0700 (PDT) X-Google-Smtp-Source: AA6agR5jmTYNj/pgXP/06xxusndvaI4iDUZ49MyTRBYvDqXLyuc8EyaOrjLGJWAU1zkizmlRDdOG X-Received: by 2002:a05:6402:d47:b0:447:4297:94e6 with SMTP id ec7-20020a0564020d4700b00447429794e6mr9805680edb.146.1661858189200; Tue, 30 Aug 2022 04:16:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661858189; cv=none; d=google.com; s=arc-20160816; b=XcbejbpE/z6SKMdcsFNCFqnVX+zm95+Nztw3WqzTQBBjoDFS9DJsqqBw5edle45/oG 1leRunwE812ayPyUzsY+CL+oADwNh+RJ9T2vOQFSABjCvNyUE+khctsaCpHfmD5oe01z 8OaP6pH4dl2Tvr8w+53yR2REIwFSauUoic4jPjKB2E51rbPqAwj4i2EypA3kG8i7Mte8 IJkhmV7wjNnwhzqHleDQTELkLaIOwgtno2iOJOQkpjCnZxVQ+8LgAnXNxwga3PT3gAzQ I9+Vtkrfcoav0BZpHH0sYpi9rBdzibhr6HIoFww8i4fD1cOwKLJ1FApPF/xiE9Om5hQW Evew== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=c6qafmfYY6lQC4Y0+wZr5Ybx3Q7TmzLJh34bfJvmCdI=; b=KKhvmPanLCY7kS3OHw3Sle31V84OuL/A3GH/QYi8Glt7mhPW9t/VUv5yrULY+D7GkP Y6+p0j87KUS+e1m6NvAJiQZoDLKptU23x5CEqEg+RaN5d9wVJRIAZsnQNoXRHsy86SHV OLVW2K4cPwtTxfvPPWwtmNPpo7j0gA3y1NHO0YzdgWTisGPjwzyV5Uvjx3tuTdpjg9gw zyThvLTqAm2nmZkFYwpKFrmMsK6NFtw+9MuADol04s7KGSlD7u64OK6jXHjjZ4L91urp EdMriwuUnWF1O9x/pFYmIjgTrO9hFWFT+0y+cYz79LKhoMEQK90xbVwz/dGpoczKNXRb NY6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=Ok77HrRn; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga5-20020a1709070c0500b00722ebccb11asi9916309ejc.101.2022.08.30.04.16.03; Tue, 30 Aug 2022 04:16:29 -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=@rasmusvillemoes.dk header.s=google header.b=Ok77HrRn; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230117AbiH3KEu (ORCPT + 99 others); Tue, 30 Aug 2022 06:04:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229955AbiH3KD6 (ORCPT ); Tue, 30 Aug 2022 06:03:58 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7167AE3404 for ; Tue, 30 Aug 2022 03:02:00 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id bt10so14810760lfb.1 for ; Tue, 30 Aug 2022 03:02:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=c6qafmfYY6lQC4Y0+wZr5Ybx3Q7TmzLJh34bfJvmCdI=; b=Ok77HrRnMhSaGYWq/8pRsZBHzp7PAYMdXHsIHQ9Wy4uZWFH/yY3zg1Y5tZbF3KFfVp pOMD3ULLmkpicTKMXrdcEQhVwlipMgy4NP4SvVVtF1pgR6svywEvlOuEkUhXEAHCItFs youFgtIMSrwuwGMRkGRQW1IfaDuEPg3/BLy8I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=c6qafmfYY6lQC4Y0+wZr5Ybx3Q7TmzLJh34bfJvmCdI=; b=jez9v8M+U4ZYSb/h6o+eTE7iktJA4224PL1ENxTz7Oo8wD6MCfXKYmzcidfqQCuGfL jlE3cddxE9XId6cyrhjPBq+sUC0TvHyFE+DD5yDrLmth6IAvC4phoDdRY/h5k6JeOtRZ Sg0o/zS1ldYSV+wynXzT7tb5DSTkSOQzHnedUle8dwholebcrV9H8+3PQOPM6SP/aJgS +ruINQ/H5ZD9sU61ljeT9JGGmPYIMKMcve5+fEvjmb52Zk+CykCf0P4oj45/5PTxt1eA EQgoP5ikYij1OqMlf4bMHNOHa65FDSWjioFikOoPe0TtOHMxkN+jVZ9CEmPSujtsU2Hr bL3Q== X-Gm-Message-State: ACgBeo08Do+UPzvBGm8QV1vIGYXe3y3JwXLopcLO+B++sLV3HRWNqM9N 8bfXyLjG1rTVqhjOVYGZYGN69g== X-Received: by 2002:a05:6512:12d3:b0:493:187:e34d with SMTP id p19-20020a05651212d300b004930187e34dmr7204052lfg.402.1661853718784; Tue, 30 Aug 2022 03:01:58 -0700 (PDT) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id m6-20020a056512114600b0048af6242892sm1573435lfg.14.2022.08.30.03.01.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Aug 2022 03:01:57 -0700 (PDT) From: Rasmus Villemoes To: Alessandro Zummo , Alexandre Belloni , Jean Delvare , Guenter Roeck , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org Cc: Rasmus Villemoes Subject: [PATCH 0/6] rtc: isl12022: cleanups and hwmon support Date: Tue, 30 Aug 2022 12:01:46 +0200 Message-Id: <20220830100152.698506-1-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.37.2 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=unavailable 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 This series does a few cleanups of the isl12022 driver, - removes use of deprecated function - removes some redundant code - switches to regmap API instead of private helpers and finally hooks up the temperatur sensor to hwmon. Rasmus Villemoes (6): rtc: isl12022: stop using deprecated devm_rtc_device_register() rtc: isl12022: simplify some expressions rtc: isl12022: use dev_set_drvdata() instead of i2c_set_clientdata() rtc: isl12022: drop redundant write to HR register rtc: isl12022: switch to using regmap API rtc: isl12022: add support for temperature sensor drivers/rtc/Kconfig | 1 + drivers/rtc/rtc-isl12022.c | 195 ++++++++++++++++++++----------------- 2 files changed, 107 insertions(+), 89 deletions(-) -- 2.37.2