hidl: consumerir: Use pragma once

Change-Id: I9925eb253d8f1385b8e82e92e2205faa1d83c7d8
tirimbino
Bruno Martins 3 years ago
parent 44db14cca9
commit 0094b44226
  1. 7
      hidl/consumerir/ConsumerIr.h
  2. 7
      hidl/consumerir/include/samsung_ir.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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,8 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef ANDROID_HARDWARE_IR_V1_0_CONSUMERIR_H #pragma once
#define ANDROID_HARDWARE_IR_V1_0_CONSUMERIR_H
#include <android/hardware/ir/1.0/IConsumerIr.h> #include <android/hardware/ir/1.0/IConsumerIr.h>
#include <hidl/MQDescriptor.h> #include <hidl/MQDescriptor.h>
@ -42,5 +41,3 @@ class ConsumerIr : public IConsumerIr {
} // namespace ir } // namespace ir
} // namespace hardware } // namespace hardware
} // namespace android } // namespace android
#endif // ANDROID_HARDWARE_IR_V1_0_CONSUMERIR_H

@ -1,6 +1,6 @@
/* /*
* Copyright (C) 2016 The CyanogenMod Project * 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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -15,8 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef SAMSUNG_CONSUMERIR_H #pragma once
#define SAMSUNG_CONSUMERIR_H
#include <android/hardware/ir/1.0/IConsumerIr.h> #include <android/hardware/ir/1.0/IConsumerIr.h>
@ -48,5 +47,3 @@ static const std::vector<ConsumerIrFreqRange> consumerirFreqs = {
{.min = 40000, .max = 40000}, {.min = 40000, .max = 40000},
{.min = 56000, .max = 56000}, {.min = 56000, .max = 56000},
}; };
#endif // SAMSUNG_CONSUMERIR_H

Loading…
Cancel
Save