Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752878AbbETJup (ORCPT ); Wed, 20 May 2015 05:50:45 -0400 Received: from mga14.intel.com ([192.55.52.115]:11115 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751341AbbETJum (ORCPT ); Wed, 20 May 2015 05:50:42 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,464,1427785200"; d="scan'208";a="732332773" Date: Wed, 20 May 2015 12:48:29 +0300 From: Mika Westerberg To: Robert Dolca Cc: Robert Dolca , linux-i2c@vger.kernel.org, linux-acpi@vger.kernel.org, "linux-kernel@vger.kernel.org" , Wolfram Sang , "Rafael J. Wysocki" , Len Brown , Daniel Baluta Subject: Re: [PATCH RFC] i2c: Use ID table to detect ACPI I2C devices Message-ID: <20150520094829.GS1490@lahna.fi.intel.com> References: <1432044209-27858-1-git-send-email-robert.dolca@intel.com> <20150520074708.GQ1490@lahna.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 704 Lines: 15 On Wed, May 20, 2015 at 12:39:22PM +0300, Robert Dolca wrote: > Currently, if the name used for DT (in dts) matches one of the names > specified in the id table you will have a match. Isn't that an > intended behavior? I thought one needs to put IDs to the driver .of_match_table. This is also what i2c_device_match() is expecting, if I read it right. BTW, how modules are supposed to be matched if we allow putting ACPI identifiers to i2c_device_id table? -- 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/