mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
pm8xxx-adc: Remove dead debugfs code
These ops are not referenced by any code. Remove them. Change-Id: I092b0fbb47d1d95524683b73472c04152c07a63d Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
parent
05dc810ce7
commit
3aa26a34f1
1 changed files with 0 additions and 17 deletions
|
@ -1042,23 +1042,6 @@ static int get_adc(void *data, u64 *val)
|
|||
}
|
||||
DEFINE_SIMPLE_ATTRIBUTE(reg_fops, get_adc, NULL, "%llu\n");
|
||||
|
||||
static int get_mpp_adc(void *data, u64 *val)
|
||||
{
|
||||
struct pm8xxx_adc_chan_result result;
|
||||
int i = (int)data;
|
||||
int rc;
|
||||
|
||||
rc = pm8xxx_adc_mpp_config_read(i,
|
||||
ADC_MPP_1_AMUX6, &result);
|
||||
if (!rc)
|
||||
pr_info("ADC MPP value raw:%x physical:%lld\n",
|
||||
result.adc_code, result.physical);
|
||||
*val = result.physical;
|
||||
|
||||
return 0;
|
||||
}
|
||||
DEFINE_SIMPLE_ATTRIBUTE(reg_mpp_fops, get_mpp_adc, NULL, "%llu\n");
|
||||
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
static void create_debugfs_entries(void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue