Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp672043pxx; Thu, 29 Oct 2020 11:34:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBkm0iZfwGjT7OwomcHEw+C9/W63X9WNHuillK4xBZ/tdUY7RlmJ4ufO799GY+rePEGU6R X-Received: by 2002:a17:906:3bd7:: with SMTP id v23mr5736806ejf.100.1603996464996; Thu, 29 Oct 2020 11:34:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603996464; cv=none; d=google.com; s=arc-20160816; b=uWjpW959q4witZqakbH3QJ7Fckzm4KKnjspMuskpTpjxaSbbKjTuDzn7IhACoykY7q ECoDbizMbRjdgKvLj6FOQayUeZDEmaoU0mHwZnl7sKhK2mg2Cy3Zfu9JZ5cuWLer8zuh 0GRgWRLEtuMbLmHbrfhEU0yDIN6m0uxBoijgeYhQLeiuy9r6CJZ5P/KpXwuDrcuWyNCs Kfid6/HwP61MXgIwO9upjZz1+JdJXs6U5ka9D7Lnw/I+IBxuOUS6M9neT1mocJSCNejX mgkIz8pYF2oFB1rO/Jvnw9RwcG+NuFbikLEgUXLjQwanuXtzwM0OH5SSUmTWxZvRJgxC jn2Q== 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; bh=sNpdWdbf1Gb7IielAE6DIst8APsqhk3ElFLJYpdio5M=; b=fqD6ufe4PXEQ+xiNOCqn9gRW49bhK+9bh+kwxmiEPyBzV3IY/p/k27KaiXbtQlIcWL Y7z1XWkQg3fT5nH43BTM1sf3AbKHkU/gfOCLDdbPdmo2lCIX15ZwS0rNARQl4x2NqlpH Tidj63fC0Bj6GQBdjvohuDZZSCFjglu2necCzdFxYRG6a19WlN9BFqNzRP/WCpg5M+uA VtckQ1/EsTaL5JoICxAwNIwm94NxGdSQAo2BlidU3o8BOx1ypemHR/uv/nCsBkF0+FaF pjdc94QxMP3VNz9EnXtr91VDqsvAK0xoxy3N5JpSmlyd6dXHav3cjXdiI45bxpDm2tg4 CscA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u11si2613867edt.221.2020.10.29.11.34.01; Thu, 29 Oct 2020 11:34:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725825AbgJ2Scc (ORCPT + 99 others); Thu, 29 Oct 2020 14:32:32 -0400 Received: from mail-ej1-f66.google.com ([209.85.218.66]:46198 "EHLO mail-ej1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725648AbgJ2Scc (ORCPT ); Thu, 29 Oct 2020 14:32:32 -0400 Received: by mail-ej1-f66.google.com with SMTP id t25so5111636ejd.13 for ; Thu, 29 Oct 2020 11:32:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=sNpdWdbf1Gb7IielAE6DIst8APsqhk3ElFLJYpdio5M=; b=PLkCDawNwD1VRxEcvWZxhSoiRE+UHoPaRoavkl+cm8x8W8HdbsossPwLyejKMy1p2J ksH4HoR7NDRnGuDUPZNJqz4hUWejaJ8RtqKYjoslbSWjpF766JmuBLYqauvS9lCUq+zM rfErGVDe5CXFIt/TBX6ZrUkT31RbdKNsbYbEWo0j4ADZ/9XcTGlwONYcISPDkPMeDAtw ou8usVbUMW31TWnTVLfun2b6vhsXYgxCuJEzImtmg1MXSwosBlDsYspUxQVODzIHhDQT FZJNOuXOqWaGsdI94jZD1AeZUO/akwdIAnCgdpjbXOYRZx0FNmQouENyo0JjDoL3oknH lH6Q== X-Gm-Message-State: AOAM530McdQ1nBlx5HaFLWGLAMJR8yz/LVhk9Dw1NMw+R/ubEEWFTwiu WETp7ZGjgU2Kx7ou+DrPH78= X-Received: by 2002:a17:906:8688:: with SMTP id g8mr5506981ejx.535.1603996350538; Thu, 29 Oct 2020 11:32:30 -0700 (PDT) Received: from kozik-lap (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id c3sm1957996edl.60.2020.10.29.11.32.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 11:32:29 -0700 (PDT) Date: Thu, 29 Oct 2020 19:32:26 +0100 From: Krzysztof Kozlowski To: Coiby Xu Cc: Lee Jones , Chanwoo Choi , Bartlomiej Zolnierkiewicz , "open list:MAXIM PMIC AND MUIC DRIVERS FOR EXYNOS BASED BO..." Subject: Re: [PATCH 1/9] mfd: maxim: remove unnecessary CONFIG_PM_SLEEP Message-ID: <20201029183226.GA88922@kozik-lap> References: <20201029100647.233361-1-coiby.xu@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201029100647.233361-1-coiby.xu@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 29, 2020 at 06:06:39PM +0800, Coiby Xu wrote: > SIMPLE_DEV_PM_OPS has already took good care of CONFIG_PM_CONFIG. I don't quite get what did you mean by "took good care". This should cause warnings of unused structure. Comment applies to other patches as well. Also, the title prefix is: "mfd: max77686:" Best regards, Krzysztof > > Signed-off-by: Coiby Xu > --- > drivers/mfd/max77686.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/mfd/max77686.c b/drivers/mfd/max77686.c > index 71faf503844b..8c701f8a9dd5 100644 > --- a/drivers/mfd/max77686.c > +++ b/drivers/mfd/max77686.c > @@ -227,7 +227,6 @@ static int max77686_i2c_probe(struct i2c_client *i2c) > return 0; > } > > -#ifdef CONFIG_PM_SLEEP > static int max77686_suspend(struct device *dev) > { > struct i2c_client *i2c = to_i2c_client(dev); > @@ -262,7 +261,6 @@ static int max77686_resume(struct device *dev) > > return 0; > } > -#endif /* CONFIG_PM_SLEEP */ > > static SIMPLE_DEV_PM_OPS(max77686_pm, max77686_suspend, max77686_resume); > > -- > 2.28.0 >