From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Rutland Subject: Re: [PATCH v4] Input: Add driver for Microchip's CAP1106 Date: Tue, 15 Jul 2014 09:53:48 +0100 Message-ID: <20140715085347.GS26465@leverpostej> References: <1405348082-24210-1-git-send-email-zonque@gmail.com> <20140714184642.GA38980@core.coreip.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20140714184642.GA38980@core.coreip.homeip.net> Sender: linux-input-owner@vger.kernel.org To: Dmitry Torokhov Cc: Daniel Mack , "linux-input@vger.kernel.org" , "broonie@kernel.org" , "dh.herrmann@gmail.com" , "devicetree@vger.kernel.org" List-Id: devicetree@vger.kernel.org On Mon, Jul 14, 2014 at 07:46:43PM +0100, Dmitry Torokhov wrote: > On Mon, Jul 14, 2014 at 04:28:02PM +0200, Daniel Mack wrote: > > + > > +static int cap1106_i2c_remove(struct i2c_client *i2c_client) > > +{ > > + struct cap1106_priv *priv = i2c_get_clientdata(i2c_client); > > + > > + input_unregister_device(priv->idev); > > + > > No need to call unregister on managed input devices. > > Otherwise if DT guys are happy with bindings I am happy with the patch. First I'd like to clarify the situation with properties for buttons which I've just asked about on the last posting, but otherwise this looks fine to me. Thanks, Mark.