default or selected kernelversion does not have config value CONFIG_LIS3L02DQ.
Result is shown for kernelversion 6.5.1

ST Microelectronics LIS3L02DQ Accelerometer Driver

modulename: lis3l02dq.ko

configname: CONFIG_LIS3L02DQ

Linux Kernel Configuration
└─>Device Drivers
└─>Staging drivers
└─>IIO staging drivers
└─>Accelerometers
└─>SPI support
└─>GPIO Support
└─>ST Microelectronics LIS3L02DQ Accelerometer Driver
In linux kernel since version 2.6.32 (release Date: 2009-12-02)  
Say yes here to build SPI support for the ST microelectronics
accelerometer. The driver supplies direct access via sysfs files
and an event interface via a character device.

source code: