History

hwmon: (ina2xx) drop unused platform data

Nobody defines struct ina2xx_platform_data. Remove platform data support from the drivers which still have it (it's effectively dead code) and remove the header.

Bartosz Golaszewski committed 7 months ago

Commit 331e5fd1 parent b95ba513 files · +4 −37Browse files

Showing the changes to include/linux/platform_data (1 of 3 files). Show all

Unified · Split

include/linux/platform_data/ina2xx.h+0−16
@@ -1,16 +0,0 @@
1−/* SPDX-License-Identifier: GPL-2.0-only */
2−/*
3− * Driver for Texas Instruments INA219, INA226 power monitor chips
4− *
5− * Copyright (C) 2012 Lothar Felten <lothar.felten@gmail.com>
6− *
7− * For further information, see the Documentation/hwmon/ina2xx.rst file.
8− */
9−
10−/**
11− * struct ina2xx_platform_data - ina2xx info
12− * @shunt_uohms shunt resistance in microohms
13− */
14−struct ina2xx_platform_data {
15− long shunt_uohms;
16−};