From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751164AbcBMQIk (ORCPT ); Sat, 13 Feb 2016 11:08:40 -0500 Received: from vi37-28-154-113.vibiznes.pl ([37.28.154.113]:33809 "EHLO vps-vb.mhejs.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751000AbcBMQIj (ORCPT ); Sat, 13 Feb 2016 11:08:39 -0500 Message-ID: <56BD0B04.5070500@maciej.szmigiero.name> Date: Thu, 11 Feb 2016 23:28:20 +0100 From: "Maciej S. Szmigiero" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Lee Jones CC: linux-kernel , Guennadi Liakhovetski Subject: Re: mfd: as3711: set regmap config reg counts properly References: <56AE832B.2010504@maciej.szmigiero.name> <20160211170733.GH20693@x1> In-Reply-To: <20160211170733.GH20693@x1> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11.02.2016 18:07, Lee Jones wrote: > On Sun, 31 Jan 2016, Maciej S. Szmigiero wrote: > >> Regmap config max_register field should contain number of >> device last register, however num_reg_defaults_raw field >> should be set to register count instead >> (usually one register more than max_register). >> >> as3711 driver had both of these fields set to the same value, >> fix this by introducing separate defines for max register >> number and total count of registers. >> >> Signed-off-by: Maciej S. Szmigiero >> --- >> drivers/mfd/as3711.c | 4 ++-- >> include/linux/mfd/as3711.h | 3 ++- >> 2 files changed, 4 insertions(+), 3 deletions(-) > > These 3 patches should really be submitted as a threaded set, so they > stay together in one's inbox. > > Also, please submit patches using the subject line format expected by > the subsystem. > > `git log --oneline -- ` helps with this. > > As you're a first time offender, I'll fix this for you this time. > > Applied, thanks. Thanks, Maciej