Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932587Ab2KNCsS (ORCPT ); Tue, 13 Nov 2012 21:48:18 -0500 Received: from h1446028.stratoserver.net ([85.214.92.142]:53373 "EHLO mail.ahsoftware.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932556Ab2KNCsP (ORCPT ); Tue, 13 Nov 2012 21:48:15 -0500 Message-ID: <50A30652.1020208@ahsoftware.de> Date: Wed, 14 Nov 2012 03:47:46 +0100 From: Alexander Holler User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20121002 Thunderbird/15.0.1 MIME-Version: 1.0 To: Jean Delvare CC: linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, Till Harbaum Subject: Re: [PATCH 1/2] i2c: Add possibility for user-defined (i2c-)devices for bus-drivers. References: <1352829968-4908-1-git-send-email-holler@ahsoftware.de> <20121113195533.6db71716@endymion.delvare> <50A2AC28.7050304@ahsoftware.de> <20121113220835.111a178a@endymion.delvare> <50A2BAA2.6090009@ahsoftware.de> <20121113224246.768bf734@endymion.delvare> In-Reply-To: <20121113224246.768bf734@endymion.delvare> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1057 Lines: 26 Hello, Am 13.11.2012 22:42, schrieb Jean Delvare: > Plus you don't address the main issues. Your syntax gives you no way to > support two i2c-tiny-usb adapters with different chips at a specific > address. The sysfs interface supports such a setup. Also instantiating > the wrong devices is worse than instating a device that doesn't exist > at all. So the use of i2c_new_probed_device() here will randomly help > in a limited number of cases and randomly be problematic in others. > Hard to justify... As you seem to have a solution for multiple devices of the same type by using sysfs, how to do you decide which one to use? You might be able to probe just one, but my simple mind currently doesn't come up with a solution which device one has to probe. Just because I'm curious... ;) Regards, Alexander -- 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/