drivers: sensor: clean up zephyr_library calls, again

Apply the same fix in bd8afe9365
(" drivers: sensor: clean up zephyr_library calls") to remove
redundant code in the sensor driver build system files. Additional
instances of the antipattern have crept in.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2021-08-30 11:09:22 -07:00 committed by Anas Nashif
commit 21c6ca9487
3 changed files with 4 additions and 6 deletions

View file

@ -5,4 +5,4 @@
zephyr_library()
zephyr_library_sources_ifdef(CONFIG_LSM303DLHC_MAGN lsm303dlhc_magn.c)
zephyr_library_sources(lsm303dlhc_magn.c)