default or selected kernelversion does not have config value CONFIG_MDIO_DEVRES.
Result is shown for kernelversion 6.9.9

CONFIG_MDIO_DEVRES (not configurable)

modulename: mdio_devres.ko

configname: CONFIG_MDIO_DEVRES

Linux Kernel Configuration
└─>Device Drivers
└─>Network device support
└─>MDIO bus device drivers
└─>MDIO_DEVRES
In linux kernel since version 4.14.326 (release Date: 2023-09-23)  
source code: