From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753863AbbFSQr5 (ORCPT ); Fri, 19 Jun 2015 12:47:57 -0400 Received: from lb3-smtp-cloud6.xs4all.net ([194.109.24.31]:50729 "EHLO lb3-smtp-cloud6.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752130AbbFSQrs (ORCPT ); Fri, 19 Jun 2015 12:47:48 -0400 Message-ID: <1434732461.2385.162.camel@x220> Subject: Re: [PATCH 1/4] mfd: da9150: Add support for Fuel-Gauge From: Paul Bolle To: Adam Thomson Cc: Lee Jones , Samuel Ortiz , Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Support Opensource Date: Fri, 19 Jun 2015 18:47:41 +0200 In-Reply-To: <8d8f583fee9313f261efa96a038874e552995c17.1434643491.git.Adam.Thomson.Opensource@diasemi.com> References: <8d8f583fee9313f261efa96a038874e552995c17.1434643491.git.Adam.Thomson.Opensource@diasemi.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2015-06-18 at 17:06 +0100, Adam Thomson wrote: > --- /dev/null > +++ b/include/linux/mfd/da9150/fg.h > +/* > + * Function template to provide battery temperature. Should provide > + * 0.1 degrees C resolution return values. > + */ > +typedef int (*da9150_read_temp_t)(void *context); > + > +/* Register temp callback function */ > +void da9150_fg_register_temp_cb(struct power_supply *psy, da9150_read_temp_t cb, > + void *cb_context); The pedant in me noticed that this function is actually added in 3/4. So this chunk might be moved to 3/4, if you like to entertain pedantry like that, that is. (But see my remark on 3/4 too.) Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/