Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp363090imu; Tue, 22 Jan 2019 20:53:25 -0800 (PST) X-Google-Smtp-Source: ALg8bN65zC1PpKXpyzCE1uFP/8R64X0TV8ut/DFonbEbY049axS9Hmp+kibouZmVHVlT/MQrDsHb X-Received: by 2002:a63:8742:: with SMTP id i63mr715660pge.298.1548219205604; Tue, 22 Jan 2019 20:53:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548219205; cv=none; d=google.com; s=arc-20160816; b=ACNNNlVXMdRgxb3euzC3lTlbN07hQXumjn9Q0G5Fx/4D+7TvBN3t1y51WEOaTuVRG0 ILK5QxrWCfYJws+B+LI62LEjn5xRbIUiObLmdhm96iJRo0X0GYHz18Qh2aRe5H3S0lWX 1//K/vNhVA9ZTeg+J8VL00vspGdPmEk/4LOgLtbHHPQp12U4SE9WyiVQc482v3INz4fg uuW3Dt2/5qWtcs23nH2R+FmXgrD3MGT7wwVrY+U4n5MAAkEyG+KXkjl3+cmPiinth01I 9s17Phkgwz5OMpGvOK2u9bc2hzLlkXz+XPZNQWsfBoSJSCuc+8R0jH5ORvPz6HYMViX3 WFLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=eKFgP4SBG/EmiPZ2IKxwQO5qaipYljcfurn4tLzXRSc=; b=JEShhPPlOSM+VY/dWrf5Ul7uAocj0/Yei0RJEWTM+R/oPHd3N02/T8TLPqg/WVQLiR dtNqKdzBevpE/l3+Tm4RYFAb2H9qT9OW/Dkzr4PRD0riU6GbyW0Jm33H30DsvigsDzfI buuuM1nxdMb5Gg4hAGM1nLcxkcR6NiUH1nGRCxMcaUSYnxLhCcwLgj429fdDmxBcsPgk l0TG1O0VGd3/fZzn0FJuXT1iEpa234Gdsna7ZPfd0/VshCIskKurh+dxKfpW+G4vKXCi 2NIRaAiOY3WdUYDdeYZG3Q4Qzj48sFb+8uHe1MHnwCCRfiWNJ0qe+//4FX0zVBqMSala g8nQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g15si16537457pgl.141.2019.01.22.20.53.10; Tue, 22 Jan 2019 20:53:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726284AbfAWEwH (ORCPT + 99 others); Tue, 22 Jan 2019 23:52:07 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:40638 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725899AbfAWEwG (ORCPT ); Tue, 22 Jan 2019 23:52:06 -0500 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::bf5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 248DB14D75785; Tue, 22 Jan 2019 20:52:06 -0800 (PST) Date: Tue, 22 Jan 2019 20:52:05 -0800 (PST) Message-Id: <20190122.205205.1509646710585096797.davem@davemloft.net> To: stefan@agner.ch Cc: fugang.duan@nxp.com, marcel.ziswiler@toradex.com, max.krummenacher@toradex.com, dev@pschenker.ch, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: fec: get regulator optional From: David Miller In-Reply-To: <20190121145847.30223-1-stefan@agner.ch> References: <20190121145847.30223-1-stefan@agner.ch> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 22 Jan 2019 20:52:06 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stefan Agner Date: Mon, 21 Jan 2019 15:58:47 +0100 > According to the device tree binding the phy-supply property is > optional. Use the regulator_get_optional API accordingly. The > code already handles NULL just fine. > > This gets rid of the following warning: > fec 2188000.ethernet: 2188000.ethernet supply phy not found, using dummy regulator > > Signed-off-by: Stefan Agner Applied.