hwmon: (pmbus) move header file out of I2C realm

include/linux/i2c is not for client devices. Move the header file to a
more appropriate location.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Wolfram Sang 2017-05-21 22:34:43 +02:00 committed by Guenter Roeck
parent 0c9fe16141
commit 4ba1bb12cf
7 changed files with 6 additions and 6 deletions

View File

@ -253,7 +253,7 @@ Specifically, it provides the following information.
PMBus driver platform data PMBus driver platform data
========================== ==========================
PMBus platform data is defined in include/linux/i2c/pmbus.h. Platform data PMBus platform data is defined in include/linux/pmbus.h. Platform data
currently only provides a flag field with a single bit used. currently only provides a flag field with a single bit used.
#define PMBUS_SKIP_STATUS_CHECK (1 << 0) #define PMBUS_SKIP_STATUS_CHECK (1 << 0)

View File

@ -10154,7 +10154,7 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git
S: Maintained S: Maintained
F: Documentation/hwmon/pmbus F: Documentation/hwmon/pmbus
F: drivers/hwmon/pmbus/ F: drivers/hwmon/pmbus/
F: include/linux/i2c/pmbus.h F: include/linux/pmbus.h
PMC SIERRA MaxRAID DRIVER PMC SIERRA MaxRAID DRIVER
L: linux-scsi@vger.kernel.org L: linux-scsi@vger.kernel.org

View File

@ -25,7 +25,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/i2c/pmbus.h> #include <linux/pmbus.h>
#include "pmbus.h" #include "pmbus.h"
/* /*

View File

@ -28,7 +28,7 @@
#include <linux/hwmon.h> #include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h> #include <linux/hwmon-sysfs.h>
#include <linux/jiffies.h> #include <linux/jiffies.h>
#include <linux/i2c/pmbus.h> #include <linux/pmbus.h>
#include <linux/regulator/driver.h> #include <linux/regulator/driver.h>
#include <linux/regulator/machine.h> #include <linux/regulator/machine.h>
#include "pmbus.h" #include "pmbus.h"

View File

@ -26,7 +26,7 @@
#include <linux/err.h> #include <linux/err.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/i2c/pmbus.h> #include <linux/pmbus.h>
#include "pmbus.h" #include "pmbus.h"
enum chips { ucd9000, ucd90120, ucd90124, ucd90160, ucd9090, ucd90910 }; enum chips { ucd9000, ucd90120, ucd90124, ucd90160, ucd9090, ucd90910 };

View File

@ -25,7 +25,7 @@
#include <linux/err.h> #include <linux/err.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/i2c/pmbus.h> #include <linux/pmbus.h>
#include "pmbus.h" #include "pmbus.h"
#define UCD9200_PHASE_INFO 0xd2 #define UCD9200_PHASE_INFO 0xd2