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:
Stephen Boyd 2012-07-05 14:58:11 -07:00
parent 05dc810ce7
commit 3aa26a34f1

View file

@ -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)
{