pmic-voter: move to common header location

pmic-voter.h needs to be used in the qcom-tadc driver which resides
outside of the power/supply/qcom location. Move it to include/linux.

Change-Id: I5079a8504573da2a800fd458ef9aa5931056d8c2
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
This commit is contained in:
Abhijeet Dharmapurikar 2017-03-20 15:54:59 -07:00
parent a32eccc4ac
commit 5e34bc8d01
8 changed files with 7 additions and 7 deletions

View file

@ -24,7 +24,7 @@
#include <linux/printk.h>
#include <linux/pm_wakeup.h>
#include <linux/slab.h>
#include "pmic-voter.h"
#include <linux/pmic-voter.h>
#define DRV_MAJOR_VERSION 1
#define DRV_MINOR_VERSION 0

View file

@ -29,7 +29,7 @@
#include <linux/string_helpers.h>
#include <linux/types.h>
#include <linux/uaccess.h>
#include "pmic-voter.h"
#include <linux/pmic-voter.h>
#define fg_dbg(chip, reason, fmt, ...) \
do { \

View file

@ -18,7 +18,7 @@
#include <linux/slab.h>
#include <linux/string.h>
#include "pmic-voter.h"
#include <linux/pmic-voter.h>
#define NUM_MAX_CLIENTS 8
#define DEBUG_FORCE_CLIENT "DEBUG_FORCE_CLIENT"

View file

@ -19,7 +19,7 @@
#include <linux/of.h>
#include <linux/of_irq.h>
#include <linux/qpnp/qpnp-revid.h>
#include "pmic-voter.h"
#include <linux/pmic-voter.h>
#define QNOVO_REVISION1 0x00
#define QNOVO_REVISION2 0x01

View file

@ -25,7 +25,7 @@
#include "smb-reg.h"
#include "smb-lib.h"
#include "storm-watch.h"
#include "pmic-voter.h"
#include <linux/pmic-voter.h>
#define SMB2_DEFAULT_WPWR_UW 8000000

View file

@ -22,7 +22,7 @@
#include "smb-lib.h"
#include "smb-reg.h"
#include "storm-watch.h"
#include "pmic-voter.h"
#include <linux/pmic-voter.h>
#define smblib_err(chg, fmt, ...) \
pr_err("%s: %s: " fmt, chg->name, \

View file

@ -28,7 +28,7 @@
#include "smb-reg.h"
#include "smb-lib.h"
#include "storm-watch.h"
#include "pmic-voter.h"
#include <linux/pmic-voter.h>
#define SMB138X_DEFAULT_FCC_UA 1000000
#define SMB138X_DEFAULT_ICL_UA 1500000