diff --git a/hidl/fastcharge/FastCharge.h b/hidl/fastcharge/FastCharge.h index 2d5a6536..28ccfe20 100644 --- a/hidl/fastcharge/FastCharge.h +++ b/hidl/fastcharge/FastCharge.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020-2021 The LineageOS Project + * Copyright (C) 2020-2022 The LineageOS Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef VENDOR_LINEAGE_FASTCHARGE_V1_0_FASTCHARGE_H -#define VENDOR_LINEAGE_FASTCHARGE_V1_0_FASTCHARGE_H +#pragma once #include #include @@ -50,5 +49,3 @@ struct FastCharge : public IFastCharge { } // namespace fastcharge } // namespace lineage } // namespace vendor - -#endif // VENDOR_LINEAGE_FASTCHARGE_V1_0_FASTCHARGE_H diff --git a/hidl/fastcharge/include/samsung_fastcharge.h b/hidl/fastcharge/include/samsung_fastcharge.h index 1eec1296..2b6be5a2 100644 --- a/hidl/fastcharge/include/samsung_fastcharge.h +++ b/hidl/fastcharge/include/samsung_fastcharge.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020-2021 The LineageOS Project + * Copyright (C) 2020-2022 The LineageOS Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,10 +14,7 @@ * limitations under the License. */ -#ifndef SAMSUNG_FASTCHARGE_H -#define SAMSUNG_FASTCHARGE_H +#pragma once #define FASTCHARGE_DEFAULT_SETTING true #define FASTCHARGE_PATH "/sys/class/sec/switch/afc_disable" - -#endif // SAMSUNG_FASTCHARGE_H