From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F943C433F5 for ; Mon, 25 Oct 2021 14:59:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 70736604E9 for ; Mon, 25 Oct 2021 14:59:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233720AbhJYPBx (ORCPT ); Mon, 25 Oct 2021 11:01:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:47734 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233721AbhJYPBu (ORCPT ); Mon, 25 Oct 2021 11:01:50 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2F53460C4A; Mon, 25 Oct 2021 14:59:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1635173967; bh=0DRdwtlDxptpTVIUjrdp6jdjBzHEdY7f29OSOi6wnyY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZqNGRa1clU2ffRDdfraZXkY8BMhC5lhoqnVhGyp04+tM/sQqWApkbPaawpb0mM9RX 5xEv/jMWA5KrcOFmpKgDX0o5OgjazqPt51ocqyxZ++GK617SQmpExaUSGgHPXK+oZh ybf1JBAjherNroZBF0MNaopT6Ww3PACpvDysQ7NU= Date: Mon, 25 Oct 2021 16:59:25 +0200 From: Greg Kroah-Hartman To: Chen Yu Cc: linux-acpi@vger.kernel.org, "Rafael J. Wysocki" , Ard Biesheuvel , Len Brown , Ashok Raj , Andy Shevchenko , Mike Rapoport , Aubrey Li , linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 2/4] drivers/acpi: Introduce Platform Firmware Runtime Update device driver Message-ID: References: <6d4a9bc38c1efd2b10955f64629d194c050fdae1.1635140590.git.yu.c.chen@intel.com> <20211025141111.GA8602@chenyu5-mobl1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211025141111.GA8602@chenyu5-mobl1> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 25, 2021 at 10:11:11PM +0800, Chen Yu wrote: > > > +module_init(pfru_init); > > > +module_exit(pfru_exit); > > > > module_platform_driver()? > > > Currently there are two platform drivers in this file, one is this > platform driver, another one will be introduced in the subsequent > patch for telemetry. Since the two platform drivers are treated > as a whole, they are put into one file. Should I split them > into two files? If they bind to different hardware devices, then yes, they should be separate files as they are not sharing any common code here. thanks, greg k-h