sdm845: liblight: use TARGET_DEVICE for module name

We do not set TARGET_BOARD_PLATFORM for all devices.
Use TARGET_DEVICE instead, which is set by the build system
and suits our needs.

Change-Id: I05a106bee0a80df4e1e9cbc16bfb4c1772430cd9
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/liblight/Android.mk b/liblight/Android.mk
index c80db3d..732de3f 100644
--- a/liblight/Android.mk
+++ b/liblight/Android.mk
@@ -27,7 +27,7 @@
 endif
 LOCAL_CFLAGS += -Wno-error
 LOCAL_CLANG  := true
-LOCAL_MODULE := lights.$(TARGET_BOARD_PLATFORM)
+LOCAL_MODULE := lights.$(TARGET_DEVICE)
 LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 legacy_not_a_contribution
 LOCAL_LICENSE_CONDITIONS := by_exception_only not_allowed notice
 LOCAL_NOTICE_FILE := $(LOCAL_PATH)/NOTICE