iicbus: ina2xx is GPL-2.0-only, ported from Linux hwmon/ina2xx.c

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jeremy Karst 2026-11-27 21:54:00 -05:00
parent 81bd5b12ac
commit fe7a7425d4

View file

@ -1,5 +1,5 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause
* SPDX-License-Identifier: GPL-2.0-only
*
* Copyright (c) 2026 Mono Technologies Inc.
*
@ -7,7 +7,8 @@
* Reads bus voltage, shunt voltage, current, and power from
* INA2xx-family digital power monitors over I2C.
*
* Based on Linux hwmon/ina2xx.c by Lothar Felten.
* Ported from Linux drivers/hwmon/ina2xx.c (GPL-2.0-only),
* Copyright Lothar Felten and the Linux INA2xx driver's contributors.
*/
#include <sys/cdefs.h>