From 407619c8600ed015f609e947cb5a335377d161b1 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Mon, 14 Aug 2023 12:30:53 +0200 Subject: [PATCH] Minor changes --- ina260.c | 10 +++++++++- ina260_full.c | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/ina260.c b/ina260.c index bf97b7f..233656e 100755 --- a/ina260.c +++ b/ina260.c @@ -1,3 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Driver for Texas Instruments INA260 power monitor chip + * Datasheet: https://www.ti.com/lit/gpn/INA260 + * + * Copyright (C) 2023 GUEGAN Loic + */ + #include "linux/module.h" #include "linux/uaccess.h" #include "linux/i2c.h" @@ -8,7 +16,7 @@ #include #include -// ina260 chip registers +// INA260 registers #define INA260_REG_CONFIGURATION 0x00 #define INA260_REG_CURRENT 0x01 #define INA260_REG_VOLTAGE 0x02 diff --git a/ina260_full.c b/ina260_full.c index 283757c..f2fa004 100755 --- a/ina260_full.c +++ b/ina260_full.c @@ -1,3 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Driver for Texas Instruments INA260 power monitor chip + * Datasheet: https://www.ti.com/lit/gpn/INA260 + * + * Copyright (C) 2023 GUEGAN Loic + */ + #include "linux/module.h" #include "linux/uaccess.h" #include "linux/i2c.h" @@ -6,7 +14,7 @@ #include "linux/kernel.h" #include -// ina260 chip registers +// INA260 registers #define INA260_REG_CONFIGURATION 0x00 #define INA260_REG_CURRENT 0x01 #define INA260_REG_VOLTAGE 0x02