Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2722573pxk; Sun, 27 Sep 2020 20:06:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWtLfS+fmVcQh65Cazn/lL2Hwtgx+z5pG5vycyAZEwsfwnm8DFuVVyiH7dHWj9p5+TKVjj X-Received: by 2002:aa7:cd90:: with SMTP id x16mr13360945edv.302.1601262371207; Sun, 27 Sep 2020 20:06:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601262371; cv=none; d=google.com; s=arc-20160816; b=hgAvAJpnG6rFeqqVwH9C0x8uWI9L3IlqQmT+9PVmg8CuWD6PZtGFNR7JLoNOoP3nkQ L5fhTH0AEdAx6uIMEZKsFOYmR7hiZcpd2ZkPvu/jf+fnNgzglXvLUHeyqB+VHZ6LKQ8D 1aOIQUlF9P6QgQ2NDVQZVcnHIG+gCKTuPTou5qbWH2j7+sN/7udCOWHeqbHrOPZjfANg sNDeLAMahB9/kRW7fRvrlOfnHSsHblC25Q2kGx757qrJpJuXnBtPCgOMIUc8piQwY+mw 5I10ZByVA1ARvu+pfWD1xVqXaL7H7L30bfisQAAske66YYM49AFzWnAAgLVTTGIrmWxT B+EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:to:subject :dkim-signature:dkim-filter; bh=+0hmY3a/XbyCzc+4wFl+/LAyCci8wsV3RJjUOrQ4q/4=; b=cjNJtsF8fe92ElIj2MM9NrUv/OZ+ZZF9dTST6tJis84y386Aimp+ecz2NFlD3LQJwj 8j3iEUkGHVJrwpqmzHzeLhj/cQVfJe0x5+FweL+NsYXX1yaYlqBJ4lSQlo1iFyhSNbNj l/dMcuICxDDDiwb/8JhJxNPalbMVPnwvriUgeoensBJmIcH8K3um+/9YduNmT5LQPS8I GDgwh0jQ6Y2FOzbAFaLxjPG3327iJKSxJy57uNsepm8FL4jJ407dneqO0Y6vCel68WQf npBfTb7c8l0cycspd0IBTNZbPrEi90Nds2ZI6ShoRCIesr4IMokVOaIGNmoq7e+bgQaL nx3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=pveUFeWD; 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=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bx24si6738036ejb.449.2020.09.27.20.05.48; Sun, 27 Sep 2020 20:06:11 -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; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=pveUFeWD; 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=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726605AbgI1DD0 (ORCPT + 99 others); Sun, 27 Sep 2020 23:03:26 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:26995 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726600AbgI1DDZ (ORCPT ); Sun, 27 Sep 2020 23:03:25 -0400 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20200928030320epoutp02c37d4d2f2f1e0cae1a365467d831c830~403zqOgEl0987809878epoutp02U for ; Mon, 28 Sep 2020 03:03:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20200928030320epoutp02c37d4d2f2f1e0cae1a365467d831c830~403zqOgEl0987809878epoutp02U DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1601262201; bh=+0hmY3a/XbyCzc+4wFl+/LAyCci8wsV3RJjUOrQ4q/4=; h=Subject:To:From:Date:In-Reply-To:References:From; b=pveUFeWD5NYPyiHBBz2Py3pme813sUnJcPVe6Z2HtwwpYeTCeLTQ4REl7YJ8TwTKK 4TFc/153Rs1zEqsZGSz5xz9R2I9YcAabLHL5pOC+9+ohr75UATQ0oSJxOy6TGGGDXl ui/u9n/+u1zLGArmbtHTUr9d4XUhcpcGMRBuE6jQ= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20200928030320epcas1p45c4f4f7081368a3e8f88f9093f4c868d~403zCeryR1182011820epcas1p4e; Mon, 28 Sep 2020 03:03:20 +0000 (GMT) Received: from epsmges1p4.samsung.com (unknown [182.195.40.158]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4C06lp0BBczMqYkk; Mon, 28 Sep 2020 03:03:18 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p4.samsung.com (Symantec Messaging Gateway) with SMTP id FE.A6.10463.572517F5; Mon, 28 Sep 2020 12:03:17 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200928030316epcas1p2d44f922bde351e5d52d327b3a368abd2~403vzldTs0751407514epcas1p2_; Mon, 28 Sep 2020 03:03:16 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200928030316epsmtrp101998be14eada6aa9c86ebc4bbcdddc5~403vywgsG1249412494epsmtrp1R; Mon, 28 Sep 2020 03:03:16 +0000 (GMT) X-AuditID: b6c32a38-efbff700000028df-76-5f715275dc03 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 21.4D.08604.472517F5; Mon, 28 Sep 2020 12:03:16 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200928030316epsmtip1ce41ae93c7738b3b7e96bc2032626ea9~403vevuI92131221312epsmtip1M; Mon, 28 Sep 2020 03:03:16 +0000 (GMT) Subject: Re: [PATCH 17/42] mfd: max77693: use PLATFORM_DEVID_NONE To: Krzysztof Kozlowski , Lee Jones , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , Chen-Yu Tsai , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Nicolas Saenz Julienne , Support Opensource , Andy Shevchenko , Milo Kim , Bartlomiej Zolnierkiewicz , Sangbeom Kim , Tony Lindgren , patches@opensource.cirrus.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-omap@vger.kernel.org From: Chanwoo Choi Organization: Samsung Electronics Message-ID: <4a9d8a2f-defb-9f88-9211-fcf2cf985f28@samsung.com> Date: Mon, 28 Sep 2020 12:16:22 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Thunderbird/59.0 MIME-Version: 1.0 In-Reply-To: <20200921205016.20461-17-krzk@kernel.org> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA01Te0zTVxjd7btkHT9bHnfEOejiNjE8CpRdmbARCPsF3GQaTMAstba/AFLa 0sLcxEwkysOBiHsgBQHlUQbIo5DyCFBWJAWZ60BljlnZJmOCUhALKoSxPjDjv5PvnHPP9303 H4PMLqF7MJKl6YRCKpRwaU4U7eAuH5+MA2kCf5MlGOWa6+ioMLuEhNoutVDRtcIhClo1X6cj o7GVjqaWhwDSPJigols95TRUVlNEQcW/W4lLxn4SenjtVypSrzZTUGf7F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2qalua3xT6dfsnr5o8/YaNHnaeV2HMbsVicN y6fLaexY5X/pumHMh8zP32/L/b6SctiwRLxQVttZm0st+rn36k9731ZzXuh8dCpBbb3Y6d+/ m8ouXEq+EXjcpW2nsYzZ1OdXP+pqSjSVl5xS6/8o8CxZjy1TiaU4I9FQi7moOBEA56/FUIoD AAA= X-CMS-MailID: 20200928030316epcas1p2d44f922bde351e5d52d327b3a368abd2 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20200921205214epcas1p4054943190340de651402db3560944385 References: <20200921205016.20461-1-krzk@kernel.org> <20200921205016.20461-17-krzk@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/22/20 5:49 AM, Krzysztof Kozlowski wrote: > Use PLATFORM_DEVID_NONE define instead of "-1" value because: > - it brings some meaning, > - it might point attention why auto device ID was not used. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/mfd/max77693.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mfd/max77693.c b/drivers/mfd/max77693.c > index 596ed85cab3b..02fbdf0a66c3 100644 > --- a/drivers/mfd/max77693.c > +++ b/drivers/mfd/max77693.c > @@ -274,7 +274,7 @@ static int max77693_i2c_probe(struct i2c_client *i2c, > > pm_runtime_set_active(max77693->dev); > > - ret = mfd_add_devices(max77693->dev, -1, max77693_devs, > + ret = mfd_add_devices(max77693->dev, PLATFORM_DEVID_NONE, max77693_devs, > ARRAY_SIZE(max77693_devs), NULL, 0, NULL); > if (ret < 0) > goto err_mfd; > Acked-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics