From 0094b44226d7c98a586997d292d3f46b077a82ae Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Thu, 13 Jan 2022 20:39:06 +0000 Subject: [PATCH] hidl: consumerir: Use pragma once Change-Id: I9925eb253d8f1385b8e82e92e2205faa1d83c7d8 --- hidl/consumerir/ConsumerIr.h | 7 ++----- hidl/consumerir/include/samsung_ir.h | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) 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