From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Oo8hYWjA" Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BDD611F; Fri, 17 Nov 2023 06:07:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700230046; x=1731766046; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=I5QXnegWS5VNgSpWhOlr98MjHSa5xU0gdds5Tc5IRi4=; b=Oo8hYWjA0FmoGZEI2Am0a095LK/3HKqczYlTueb9+riPDFohMvrqTeWo Z5CjpYQwhy2KL77ru0z+lPRsgINx7RdH+7Y9Bihc3uYr1JpR58TwVbpbN aOyJdx7cPh1ZN/HrZAJolqLwsjOnNYaR1vGvcx+XJ0MggnV0OkWG4RzA+ C0vtMOmFcG443ARfmsSoNRmlK6VHSnflYnqrORyqIeJWir9irM4bXzBEB UnDVoZSwxlf5oA+o4Wdlfko1zKxWOoSdIYsqWXf3ZgUGyQMtZHVQCu/g4 e3X8IsJjwUhMd6kiA8jDnHuAdI5SjBJkdKzEJYYP6dLEgBLnVbvbOEHxt g==; X-IronPort-AV: E=McAfee;i="6600,9927,10897"; a="391087483" X-IronPort-AV: E=Sophos;i="6.04,206,1695711600"; d="scan'208";a="391087483" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2023 06:07:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10897"; a="909442841" X-IronPort-AV: E=Sophos;i="6.04,206,1695711600"; d="scan'208";a="909442841" Received: from unknown (HELO [10.237.72.75]) ([10.237.72.75]) by fmsmga001.fm.intel.com with ESMTP; 17 Nov 2023 06:07:07 -0800 Message-ID: Date: Fri, 17 Nov 2023 16:07:06 +0200 Precedence: bulk X-Mailing-List: linux-i2c@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 09/25] i2c: designware: Replace MODULE_ALIAS() with MODULE_DEVICE_TABLE() Content-Language: en-US To: Mario Limonciello , Andy Shevchenko , Herbert Xu , Wolfram Sang , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mika Westerberg , Jan Dabros , Andi Shyti , Philipp Zabel , Hans de Goede References: <20231110182304.3894319-1-andriy.shevchenko@linux.intel.com> <20231110182304.3894319-10-andriy.shevchenko@linux.intel.com> From: Jarkko Nikula In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/10/23 21:39, Mario Limonciello wrote: > On 11/10/2023 12:11, Andy Shevchenko wrote: >> As Krzysztof Kozlowski pointed out the better is to use >> MODULE_DEVICE_TABLE() as it will be consistent with the content >> of the real ID table of the platform devices. >> >> While at it, drop unneeded and unused module alias in PCI glue >> driver as PCI already has its own ID table and automatic loading >> should just work. >> >> Reviewed-by: Andi Shyti >> Signed-off-by: Andy Shevchenko > Reviewed-by: Mario Limonciello I'm using modular build and modules get autoloaded fine after this patch. Acked-by: Jarkko Nikula Tested-by: Jarkko Nikula