sm6250-common: fingerprint: Brackets should be here

Change-Id: I8093287b3f4e1b1d0c3deff384a1cb5e6e17dbff
This commit is contained in:
LuK1337 2019-07-03 02:14:18 +02:00 committed by Demon000
parent f5a6695e08
commit 24cdd87ecc

View File

@ -212,8 +212,7 @@ IBiometricsFingerprint* BiometricsFingerprint::getInstance() {
return sInstance;
}
fingerprint_device_t* getDeviceForVendor(const char *class_name)
{
fingerprint_device_t* getDeviceForVendor(const char *class_name) {
const hw_module_t *hw_module = nullptr;
int err;
@ -261,8 +260,7 @@ void setFpVendorProp(const char *fp_vendor) {
property_set("ro.boot.fpsensor", fp_vendor);
}
fingerprint_device_t* getFingerprintDevice()
{
fingerprint_device_t* getFingerprintDevice() {
fingerprint_device_t *fp_device;
fp_device = getDeviceForVendor("fpc");