From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751860AbdDNKf3 (ORCPT ); Fri, 14 Apr 2017 06:35:29 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:44844 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751278AbdDNKf0 (ORCPT ); Fri, 14 Apr 2017 06:35:26 -0400 Date: Fri, 14 Apr 2017 12:35:23 +0200 From: Alexandre Belloni To: Quentin Schulz Cc: nicolas.ferre@microchip.com, broonie@kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@free-electrons.com Subject: Re: [PATCH 1/2] spi: atmel: factorize reusable code for SPI controller init Message-ID: <20170414103523.rvdsya5xhbm4akoh@piout.net> References: <20170414082243.23002-1-quentin.schulz@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170414082243.23002-1-quentin.schulz@free-electrons.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/04/2017 at 10:22:42 +0200, Quentin Schulz wrote: > The SPI controller configuration during the init can be reused, for the > resume function for example. > > Let's move this configuration to a separate function. > > Signed-off-by: Quentin Schulz > Acked-by: Nicolas Ferre Note that this one has already been applied. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com