[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2023071808-power-rise-930c@gregkh>
Date: Tue, 18 Jul 2023 15:40:16 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Joaquín Ignacio Aramendía <samsagax@...il.com>
Cc: linux@...ck-us.net, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/2] hwmon: (oxp-sensors) Move board detection to the
init function
On Mon, Jul 17, 2023 at 07:25:16PM -0300, Joaquín Ignacio Aramendía wrote:
> Move detection logic to the start of init() function so we won't
> instantiate the driver if the board is not compatible.
>
> Signed-off-by: Joaquín Ignacio Aramendía <samsagax@...il.com>
> ---
> drivers/hwmon/oxp-sensors.c | 29 +++++++++++++++--------------
> 1 file changed, 15 insertions(+), 14 deletions(-)
Reviewed-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Powered by blists - more mailing lists