Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753952AbdLMVZ4 (ORCPT ); Wed, 13 Dec 2017 16:25:56 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:45592 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753928AbdLMVZx (ORCPT ); Wed, 13 Dec 2017 16:25:53 -0500 Date: Wed, 13 Dec 2017 16:25:51 -0500 (EST) Message-Id: <20171213.162551.1222974712473715319.davem@davemloft.net> To: privat@egil-hjelmeland.no Cc: andrew@lunn.ch, vivien.didelot@savoirfairelinux.com, f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 net-next] net: dsa: lan9303: Introduce lan9303_read_wait From: David Miller In-Reply-To: <20171213144250.27120-1-privat@egil-hjelmeland.no> References: <20171213144250.27120-1-privat@egil-hjelmeland.no> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) 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]); Wed, 13 Dec 2017 13:25:52 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 455 Lines: 15 From: Egil Hjelmeland Date: Wed, 13 Dec 2017 15:42:50 +0100 > Simplify lan9303_indirect_phy_wait_for_completion() > and lan9303_switch_wait_for_completion() by using a new function > lan9303_read_wait() > > Changes v1 -> v2: > - param 'mask' type u32 > - removed param 'value' (will probably never be used) > - add newline before return > > Signed-off-by: Egil Hjelmeland Applied, thank you.