default or selected kernelversion does not have config value CONFIG_LEDS_GPIO_REGISTER.
Result is shown for kernelversion 6.9-rc4

CONFIG_LEDS_GPIO_REGISTER (not configurable)

modulename: leds-gpio-register.ko

configname: CONFIG_LEDS_GPIO_REGISTER

Linux Kernel Configuration
└─>Device Drivers
└─>LEDS_GPIO_REGISTER
In linux kernel since version 3 (release Date: 2011-07-21)  
This option provides the function gpio_led_register_device.
As this function is used by arch code it must not be compiled as a
module.

source code: