Re: [PATCH v6 1/1] Input: gameport: add ISA and HAS_IOPORT dependencies

From: Dmitry Torokhov
Date: Wed Jul 05 2023 - 20:34:41 EST


Hi Niklas,

On Mon, Jul 03, 2023 at 05:23:55PM +0200, Niklas Schnelle wrote:
> +static void gameport_setup_default_handlers(struct gameport *gameport)
> +{
> + if (gameport->trigger && gameport->read)
> + return;
> +
> + if (!IS_ENABLED(CONFIG_HAS_IOPORT))
> + dev_err(&gameport->dev,
> + "I/O port access is required for %s (%s) but is not available\n",
> + gameport->phys, gameport->name);

I combined these 2 conditions into one and applied, thank you.

--
Dmitry