[PATCH 06/11] pragma once: convert include/linux/cb710.h

From: Alexey Dobriyan
Date: Tue Feb 09 2021 - 08:56:54 EST


This file is concatenation of two files with two include guards.
Convert it manually.

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---
include/linux/cb710.h | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/include/linux/cb710.h b/include/linux/cb710.h
index 405657a9a0d5..f3055e9442db 100644
--- a/include/linux/cb710.h
+++ b/include/linux/cb710.h
@@ -1,12 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#pragma once
/*
* cb710/cb710.h
*
* Copyright by MichaÅ? MirosÅ?aw, 2008-2009
*/
-#ifndef LINUX_CB710_DRIVER_H
-#define LINUX_CB710_DRIVER_H
-
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
@@ -121,15 +119,11 @@ void cb710_dump_regs(struct cb710_chip *chip, unsigned dump);
#define CB710_DUMP_ACCESS_ALL 0x700
#define CB710_DUMP_ACCESS_MASK 0x700

-#endif /* LINUX_CB710_DRIVER_H */
/*
* cb710/sgbuf2.h
*
* Copyright by MichaÅ? MirosÅ?aw, 2008-2009
*/
-#ifndef LINUX_CB710_SG_H
-#define LINUX_CB710_SG_H
-
#include <linux/highmem.h>
#include <linux/scatterlist.h>

@@ -197,5 +191,3 @@ static inline void cb710_sg_dwiter_read_to_io(struct sg_mapping_iter *miter,
while (count-- > 0)
iowrite32(cb710_sg_dwiter_read_next_block(miter), port);
}
-
-#endif /* LINUX_CB710_SG_H */
--
2.29.2