Re: [PATCH 1/8] staging: sm750fb: remove unused GPIO_MUX bit field definitions
From: Greg Kroah-Hartman
Date: Mon Mar 09 2026 - 12:47:50 EST
On Wed, Mar 04, 2026 at 12:24:22AM +0100, Gabriel Windlin wrote:
> The GPIO_MUX_0 through GPIO_MUX_31 bit field macros defined in
> ddk750_reg.h are not referenced anywhere in the driver. The register
> address GPIO_MUX itself is still used by ddk750_swi2c.c. Remove the
> unused bit definitions to reduce dead code as noted in the TODO file.
As Dan says, it's good to keep hardware documentation like this around,
as it's not taking any runtime space.
thanks,
greg k-h