Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753632AbdLMQcI (ORCPT ); Wed, 13 Dec 2017 11:32:08 -0500 Received: from mail.savoirfairelinux.com ([208.88.110.44]:39132 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753602AbdLMQcE (ORCPT ); Wed, 13 Dec 2017 11:32:04 -0500 From: Vivien Didelot To: Egil Hjelmeland , andrew@lunn.ch, f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Egil Hjelmeland Subject: Re: [PATCH v2 net-next] net: dsa: lan9303: Introduce lan9303_read_wait In-Reply-To: <20171213144250.27120-1-privat@egil-hjelmeland.no> References: <20171213144250.27120-1-privat@egil-hjelmeland.no> Date: Wed, 13 Dec 2017 11:32:00 -0500 Message-ID: <87po7ioagv.fsf@weeman.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 463 Lines: 14 Egil Hjelmeland writes: > 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 Reviewed-by: Vivien Didelot