mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-05 02:31:36 +00:00
At PMIC subsystem, C89 comments are preferred over C99. While here, also update the copyrights of the header file. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/5a86478c8ccb93d3105485b5f16e20e9c12e2196.1611949675.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
31 lines
623 B
C
31 lines
623 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Header file for device driver Hi6421 PMIC
|
|
*
|
|
* Copyright (c) 2013 Linaro Ltd.
|
|
* Copyright (C) 2011 Hisilicon.
|
|
* Copyright (c) 2020-2021 Huawei Technologies Co., Ltd
|
|
*
|
|
* Guodong Xu <guodong.xu@linaro.org>
|
|
*/
|
|
|
|
#ifndef __HISI_PMIC_H
|
|
#define __HISI_PMIC_H
|
|
|
|
#include <linux/irqdomain.h>
|
|
#include <linux/regmap.h>
|
|
|
|
struct hi6421_spmi_pmic {
|
|
struct resource *res;
|
|
struct device *dev;
|
|
void __iomem *regs;
|
|
spinlock_t lock;
|
|
struct irq_domain *domain;
|
|
int irq;
|
|
int gpio;
|
|
unsigned int *irqs;
|
|
struct regmap *regmap;
|
|
};
|
|
|
|
#endif /* __HISI_PMIC_H */
|