Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2723034pxk; Sun, 27 Sep 2020 20:07:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOg5dJ8Mx4Rioibz5IFUu+3wM5cgutO6AJ1LZOx0XTJdhhqc11j9Gzp5fcczpttotbzstM X-Received: by 2002:a17:906:c411:: with SMTP id u17mr13235057ejz.319.1601262431273; Sun, 27 Sep 2020 20:07:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601262431; cv=none; d=google.com; s=arc-20160816; b=xl4vx3uqtUuroJ8DIPAWKFl1t6MDFfiwG6fdWUJVl5AeeTRGSLrtX/l8cfhYly0oRg CRJbkQS3ytRfK/9ss++G3S1n1CuEJPN/J4iZKm1RD+BtZviE25x5VUyUgc6rKRcIIB2J 5JlQmwGsZsnep1/ZEB2owmoYC4lqRmy2Nf68TuuBE2JgO5JBaQ62vbhbI07u1uHvDC9F poFCzvYLBEEDf11tjQaD/cPFCHwkQcw073LyKDvQneYsFSRo4auizQikg+g6jikGcaxg VRB9zACXmnIeVwr6o5MH516CWVr150K02n6CwJGAbA6uLk4OZ/JMSWRRQcY+79T6o7AC ZEqA== 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=iXv1uU3u1/DUfBbWju+xtjBa5WWiwFzs1IT/1We0Opo=; b=TQdGaBis3lH1gP5q6SxY++K27bSxH4P0BaBdiT+Gn/rmPbbMoWndLgHMcbv9WOSvRh f9SPT3ZNLXtmDCGN0n23ndfB2aNf7w/YrixkXuvxzCm2u3U+fWrqj9VP2hLvtt1FYiFX Aejfws29toKTVDF7du6xa4SowzsScF711qhdbIBLW9RFmA7ANep3NtuPWH5XmfdVUsir 8iWuURzrXZ04v+lDkkU+TcJoEY5bbQ9/iRcEkUvTf622ZJciofE5PA/um8fxkbNHN+ZP DuaVHUpy7iHID4qtFCNVQKycVaJm4Vub85SKFmOAbJYBa8JdJlSkYCDOyLjk/c7dT+0u 56Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=tXYTmstt; 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 g15si7634133edp.40.2020.09.27.20.06.48; Sun, 27 Sep 2020 20:07: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=tXYTmstt; 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 S1726588AbgI1DDR (ORCPT + 99 others); Sun, 27 Sep 2020 23:03:17 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:35663 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726335AbgI1DDQ (ORCPT ); Sun, 27 Sep 2020 23:03:16 -0400 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20200928030313epoutp03e20ef47ee67561be39b8b294b55f3428~403shfJZc0960109601epoutp03a for ; Mon, 28 Sep 2020 03:03:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20200928030313epoutp03e20ef47ee67561be39b8b294b55f3428~403shfJZc0960109601epoutp03a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1601262193; bh=iXv1uU3u1/DUfBbWju+xtjBa5WWiwFzs1IT/1We0Opo=; h=Subject:To:From:Date:In-Reply-To:References:From; b=tXYTmsttCWlgi1nhf/Usw+g6DjPNZ67G0Woj5YqA/WlRkAGfVgcT9THD700H2umDR 1QzNo8k5IRhcbn+AZzzquQ22lx4BiWVHYgnxhFXpTpqXO+zGDn41gS9iWVXTf58hqw NaXDH+Bvd/2Q9TBR1op3RsGYWuF6QeLldRIW4v3o= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20200928030312epcas1p153fa80ff5dad26e3a88b0891d2c023ca~403r4DNeI0946609466epcas1p13; Mon, 28 Sep 2020 03:03:12 +0000 (GMT) Received: from epsmges1p4.samsung.com (unknown [182.195.40.153]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4C06lf1wNMzMqYlp; Mon, 28 Sep 2020 03:03:10 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p4.samsung.com (Symantec Messaging Gateway) with SMTP id 17.A6.10463.E62517F5; Mon, 28 Sep 2020 12:03:10 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200928030309epcas1p191e0175570c88058b3bc120e327b0354~403ossUA82461924619epcas1p1B; Mon, 28 Sep 2020 03:03:09 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200928030309epsmtrp17ca7cb27406644153356cad86659e772~403oqvvgT1249412494epsmtrp1L; Mon, 28 Sep 2020 03:03:09 +0000 (GMT) X-AuditID: b6c32a38-f11ff700000028df-5f-5f71526e94b0 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 9C.20.08745.C62517F5; Mon, 28 Sep 2020 12:03:09 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200928030308epsmtip16e50c36fa1578d9c08a26ca379e62c8c~403oQ3urE2700827008epsmtip1h; Mon, 28 Sep 2020 03:03:08 +0000 (GMT) Subject: Re: [PATCH 16/42] mfd: max77686: 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: <0ba9ee10-b30a-0e6a-beac-0c5614e27a87@samsung.com> Date: Mon, 28 Sep 2020 12:16:14 +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-16-krzk@kernel.org> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA01Te0yTVxzd7Rtc52cVuLIHUGcWSQq0ULwwID6I+9wjom5mY2SloZ/A+rQF FHEDlJcFRTY3sCuwhUcdyMBCeFRnN4SxynjJitCBOB5BWCxGxDFHZH2Z8d+595yTc8/v5scg szR0b0ayLIVQyoQSNs2d0npzB4cjO3RMEFReuAHlW2vp6NzpUhK6WtZIRQ3nuinoqbWLjgYG muhocrkbIP30CBUNG7Q09E11MQWV/GEjygZukND9hjtUpHv6AwW1NX9HRq0aHQ0tLRqpaPZS Mw0NXX5MQtb6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LyW+C1y2duO9Yvl7Bq23F nNnd2Tc2m2s8vi7/I/hY1sbT0x6/L7vnO2tnQ+BEqfhJgtOO3Vr3LUiZU//L8a//PoUJX2C2 jw0I2t9WVDFpRhPfbr6kkn/FDTKbdx1Mnlkk5xduODtkZtL8SycVbiuxFGckGmoxFxUnAgCi 2IBFjAMAAA== X-CMS-MailID: 20200928030309epcas1p191e0175570c88058b3bc120e327b0354 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: 20200921205213epcas1p197f76195dd72fdbcc0fd32454418842f References: <20200921205016.20461-1-krzk@kernel.org> <20200921205016.20461-16-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/max77686.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/mfd/max77686.c b/drivers/mfd/max77686.c > index 71faf503844b..1f26d00fdd37 100644 > --- a/drivers/mfd/max77686.c > +++ b/drivers/mfd/max77686.c > @@ -217,8 +217,8 @@ static int max77686_i2c_probe(struct i2c_client *i2c) > return ret; > } > > - ret = devm_mfd_add_devices(max77686->dev, -1, cells, n_devs, NULL, > - 0, NULL); > + ret = devm_mfd_add_devices(max77686->dev, PLATFORM_DEVID_NONE, cells, > + n_devs, NULL, 0, NULL); > if (ret < 0) { > dev_err(&i2c->dev, "failed to add MFD devices: %d\n", ret); > return ret; > Acked-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics