Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756383Ab2K0UTu (ORCPT ); Tue, 27 Nov 2012 15:19:50 -0500 Received: from cantor2.suse.de ([195.135.220.15]:38784 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756012Ab2K0UTt (ORCPT ); Tue, 27 Nov 2012 15:19:49 -0500 Date: Tue, 27 Nov 2012 21:19:44 +0100 (CET) From: Jiri Kosina To: Henrik Rydberg Cc: Benjamin Tissoires , Dmitry Torokhov , Stephane Chatty , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 02/11] HID: hid-input: simplify hid_input allocation and registration In-Reply-To: <20121127201407.GA884@polaris.bitmath.org> Message-ID: References: <1353684694-5723-1-git-send-email-benjamin.tissoires@gmail.com> <1353684694-5723-3-git-send-email-benjamin.tissoires@gmail.com> <20121127201407.GA884@polaris.bitmath.org> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1108 Lines: 31 On Tue, 27 Nov 2012, Henrik Rydberg wrote: > > In order to provide fine control for the creation of different > > input devices in probe function of third party drivers, this patch > > split the allocations, the registrations and the free of input > > devices. > > > > Signed-off-by: Benjamin Tissoires > > --- > > drivers/hid/hid-input.c | 28 ++++++++++++++++++---------- > > 1 file changed, 18 insertions(+), 10 deletions(-) > > I don't like this patch, nor its purpose. Drivers should not depend on > the hid core working in a particular way internally, that spells > disaster. There must be some other way in which the same effect can be > achieved? The changelog doesn't seem to be really verbose enough to me. What exactly is the scenario you are looking at here, Benjamin, please? Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/