From patchwork Mon Feb 10 12:34:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 231815 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D0DAC352A3 for ; Mon, 10 Feb 2020 13:09:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F050B20708 for ; Mon, 10 Feb 2020 13:09:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581340198; bh=u/M2mGQ5ENRc2DkqYk6wNRO550Bdvbsv9lmk+t4/hCY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=dAc8CrP4Wd3JvcxKrbwOvPFQh6ckMAYvXDI1JxV2HTCqGfNny4E7B6iKL8IbZLDi5 6mlBUsORYlkCUi4uIOkvLe/VEsbhwRLN3LHMPRG5Gagp91Mm2jbvz0MCAP6Ve7KM1L gwXqVWxPrIho0xGfo539jqqmhNvisxV7V3IM6MQw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729433AbgBJNJ4 (ORCPT ); Mon, 10 Feb 2020 08:09:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:36462 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728822AbgBJMjO (ORCPT ); Mon, 10 Feb 2020 07:39:14 -0500 Received: from localhost (unknown [209.37.97.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A13B620838; Mon, 10 Feb 2020 12:39:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581338353; bh=u/M2mGQ5ENRc2DkqYk6wNRO550Bdvbsv9lmk+t4/hCY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kQm5yoo9wsEJaNUjyQn/fHlXTVNeZAj+CmR3ODEsDt4N712vzj4/klQ1euir6KSJd Vbw1NVr5NNVIImWe4aegEniwv+4ILYtzqW+UhmZDJscTR6s38lIKShLlTWE35lqpaC NlswS8MAitFa13UtHNeetjDgpVL3BySqdUROluHE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stephen Rothwell , Marek Vasut , Mark Brown , Sasha Levin Subject: [PATCH 5.4 308/309] regulator fix for "regulator: core: Add regulator_is_equal() helper" Date: Mon, 10 Feb 2020 04:34:24 -0800 Message-Id: <20200210122436.605092608@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200210122406.106356946@linuxfoundation.org> References: <20200210122406.106356946@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Stephen Rothwell [ Upstream commit 0468e667a5bead9c1b7ded92861b5a98d8d78745 ] Signed-off-by: Stephen Rothwell Link: https://lore.kernel.org/r/20200115120258.0e535fcb@canb.auug.org.au Acked-by: Marek Vasut Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- include/linux/regulator/consumer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h index 2c89d886595cb..6a92fd3105a31 100644 --- a/include/linux/regulator/consumer.h +++ b/include/linux/regulator/consumer.h @@ -596,7 +596,7 @@ regulator_bulk_set_supply_names(struct regulator_bulk_data *consumers, } static inline bool -regulator_is_equal(struct regulator *reg1, struct regulator *reg2); +regulator_is_equal(struct regulator *reg1, struct regulator *reg2) { return false; }