Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3018951rwi; Fri, 21 Oct 2022 10:27:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5AuwKl7YAcasHzAdFkju/rU6Zz4ZspvJRq4jWOyhU/hbFl8t9XbU+SAKlFONtZV02zVtHd X-Received: by 2002:aa7:d506:0:b0:461:565e:8673 with SMTP id y6-20020aa7d506000000b00461565e8673mr2693538edq.416.1666373266037; Fri, 21 Oct 2022 10:27:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666373266; cv=none; d=google.com; s=arc-20160816; b=o0QlW0BMypmVADPORMGT9MiJ/hPZthL96l3iEeWBnCS1GEwgOLKW8RoBggD8FNKinH CsDA2apsbRfdcP/S4MTLUc8en0GLP+Vauz8CH2y7wWyqtFYIbRUj4BGLJwoWKJKoC1rg dMFrhK1VMHU6b3rknxO0Ryw0tYJ4gVV5pwvu7I90nzDal67Ooya2N1KnkX2AALZkLtC5 Y/FHC2vunSuAZqPcfQwVOIl5nfyygzbVxq7Dcdq9gbj3rMnylISn4Do9DWNjsiGRnv1j Mx1y2UNMpsofl2kulnm22T4x0/n1+JcyB57YlqjaNwZvUXR9y7E0WAuuB2AH2l1FvmQA G6VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=A6BqgqIxQ+q3oABy/KVS7FxTx0acwuSVWX67BzMj1gk=; b=MNxlNbRkyjLqWRhAng2oIsHnuM3Zf27bvIAkTvwAKweHT0WHKS/cJvYp3n+m1LBgHb Xpm6bjKXjeYoBVFJb+0OV8Cb1Ay00KSGTDh0CtgKrGeBOeAXpEfbs7HfLMP7rABzSghV RgPGNWkTvKKtH3p0RJKcWOaS3Icp/HKHzSPP3L3u8QMJMMxTlP3K100SMVLLfeYA8RaQ yvLdzMMxutWNfQUjcCK+togEpzRln2pfwk54pDaGGGFlpX2U/DQD+6ZMYYz0wz2oYxcI 8VJhtPHxz9e8KoabhWVScUx7hto//tQiIJq9UDU3itL3ycQ59x6yKnFNIxXmHPMHjbBd Rtkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=f0nVmiNw; 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 z19-20020a05640235d300b00457e293e3easi23502866edc.573.2022.10.21.10.27.21; Fri, 21 Oct 2022 10:27:46 -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=@gmail.com header.s=20210112 header.b=f0nVmiNw; 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 S229568AbiJURV7 (ORCPT + 99 others); Fri, 21 Oct 2022 13:21:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230328AbiJURVw (ORCPT ); Fri, 21 Oct 2022 13:21:52 -0400 Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDD4E24B31F; Fri, 21 Oct 2022 10:21:35 -0700 (PDT) Received: by mail-oi1-x234.google.com with SMTP id u15so3967771oie.2; Fri, 21 Oct 2022 10:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=A6BqgqIxQ+q3oABy/KVS7FxTx0acwuSVWX67BzMj1gk=; b=f0nVmiNw0x2GGqQ57S0MHq3NjFd8sUe5YLfcPOwspvxvypgP+cCpLhpNjPq6N6+CXP +Q0C/RoViUG+lyDIum7B7rwHu9/lqryapUDDBwzENKf051uyNXPT1Eu9fIgFQ1VFbqZf 6XkDVmSa9qwO0qiTxQaAgB+yJfoRh3noPTlNLizvy6WRHLxedoEXqVuTmx9ic2Ccaegy HI0Xci1CnQUW7bVAVDIttvYeUfCyCf1jH5un9YxdPJlISULB2whXDSj9SPZRlE5Yolgh tBAxGNaVZir22XaGDM8po83dHjz7yWQrhde0v7cPOVIvfPX54xGmHI+f6cYmRTkphONF KyXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=A6BqgqIxQ+q3oABy/KVS7FxTx0acwuSVWX67BzMj1gk=; b=fhNwr5u/bgmykOWLzC1ClZc3x/LsIaXI/huLdmvdksW2qQbZL+MSB3Y5y4qao4OXax p/vjCKXVkE0BqoNMvZwlL3dRAiioVbCIp2xo5rIwYSOI6KWTXWNTV7OuQdimJW6io1PU 7yltb0EeFRzSCUbT7gzEPXw1/Vs0pmCgq0rwp3pq4MMXEPqa5t+u2IVAVQwMArBdIqOE MM1LZlIsG1W4L/2KZ6+cfsuTSAf1uaAeL8WP3rqi1ZgchaHsZsA6zFtXxi/tqT64Mc0f xYT6EYrmAQjyw7REomDJxYLMJ5K2nmkUYqj5bejUwHpbo8Jo+yGjRoO3hTSPnDo45IkJ FTgA== X-Gm-Message-State: ACrzQf2dslSwytftp/6RZeq4xu0zOQxBIxOeeGgRbfJVVLBJ0ARpSHyz /AgiWwx5BPijgkQAmfonVC4= X-Received: by 2002:a05:6808:1994:b0:354:d97e:d4aa with SMTP id bj20-20020a056808199400b00354d97ed4aamr23292247oib.148.1666372894339; Fri, 21 Oct 2022 10:21:34 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id e2-20020a05680809a200b00350a8b0637asm1305671oig.47.2022.10.21.10.21.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 10:21:33 -0700 (PDT) Sender: Guenter Roeck Date: Fri, 21 Oct 2022 10:21:32 -0700 From: Guenter Roeck To: Matti Vaittinen Cc: Matti Vaittinen , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Michael Hennerich , Jean Delvare , Liam Girdwood , Mark Brown , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-hwmon@vger.kernel.org Subject: Re: [PATCH v4 3/4] hwmon: lm90: simplify using devm_regulator_get_enable() Message-ID: <20221021172132.GA1890681@roeck-us.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no 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 On Fri, Oct 21, 2022 at 04:18:43PM +0300, Matti Vaittinen wrote: > Drop open-coded pattern: 'devm_regulator_get(), regulator_enable(), > add_action_or_reset(regulator_disable)' and use the > devm_regulator_get_enable(). > > Signed-off-by: Matti Vaittinen > Acked-by: Guenter Roeck Applied to hwmon-next. Thanks, Guenter