diff --git a/hidl/consumerir/ConsumerIr.h b/hidl/consumerir/ConsumerIr.h index 5adb6214..b81b1ebf 100644 --- a/hidl/consumerir/ConsumerIr.h +++ b/hidl/consumerir/ConsumerIr.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 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 ANDROID_HARDWARE_IR_V1_0_CONSUMERIR_H -#define ANDROID_HARDWARE_IR_V1_0_CONSUMERIR_H +#pragma once #include #include @@ -42,5 +41,3 @@ class ConsumerIr : public IConsumerIr { } // namespace ir } // namespace hardware } // namespace android - -#endif // ANDROID_HARDWARE_IR_V1_0_CONSUMERIR_H diff --git a/hidl/consumerir/include/samsung_ir.h b/hidl/consumerir/include/samsung_ir.h index 74adf420..817910e2 100644 --- a/hidl/consumerir/include/samsung_ir.h +++ b/hidl/consumerir/include/samsung_ir.h @@ -1,6 +1,6 @@ /* * Copyright (C) 2016 The CyanogenMod Project - * Copyright (C) 2020 The LineageOS Project + * 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. @@ -15,8 +15,7 @@ * limitations under the License. */ -#ifndef SAMSUNG_CONSUMERIR_H -#define SAMSUNG_CONSUMERIR_H +#pragma once #include @@ -48,5 +47,3 @@ static const std::vector consumerirFreqs = { {.min = 40000, .max = 40000}, {.min = 56000, .max = 56000}, }; - -#endif // SAMSUNG_CONSUMERIR_H