Skip to content
Commit 7954fab2 authored by Maureen Helm's avatar Maureen Helm Committed by Anas Nashif
Browse files

drivers: sensor: Use dt_compat_enabled for magnetometer drivers



In preparation for extending samples/sensor/magn_polling to support
additional magnetometer drivers, enable these drivers by default when
the sensor driver class is enabled (CONFIG_SENSOR=y) and a compatible
devicetree node is enabled.

Signed-off-by: default avatarMaureen Helm <maureen.helm@intel.com>
parent b789c117
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment