Revert "mfd: Add platform data for MAX8997 haptic driver"
authorSamuel Ortiz <sameo@linux.intel.com>
Wed, 21 Mar 2012 20:38:59 +0000 (21:38 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 21 Mar 2012 20:39:18 +0000 (21:39 +0100)
This reverts commit 02b09703e7a411f80e5ec037b3abf14061a61933.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/linux/mfd/max8997.h

index 9d8006b4a13ad6675f11f62a41a1a015245d7330..fff590521e5045beced56e80f207fcd178a9fa99 100644 (file)
@@ -153,55 +153,6 @@ struct max8997_led_platform_data {
        u8 brightness[2];
 };
 
-enum max8997_haptic_motor_type {
-       MAX8997_HAPTIC_ERM,
-       MAX8997_HAPTIC_LRA,
-};
-
-enum max8997_haptic_pulse_mode {
-       MAX8997_EXTERNAL_MODE,
-       MAX8997_INTERNAL_MODE,
-};
-
-enum max8997_haptic_pwm_divisor {
-       MAX8997_PWM_DIVISOR_32,
-       MAX8997_PWM_DIVISOR_64,
-       MAX8997_PWM_DIVISOR_128,
-       MAX8997_PWM_DIVISOR_256,
-};
-
-/*
- * max8997_haptic_platform_data
- * @pwm_channel_id: channel number of PWM device
- *                 valid for MAX8997_EXTERNAL_MODE
- * @pwm_period: period in nano second for PWM device
- *             valid for MAX8997_EXTERNAL_MODE
- * @type: motor type
- * @mode: pulse mode
- *     MAX8997_EXTERNAL_MODE: external PWM device is used to control motor
- *     MAX8997_INTERNAL_MODE: internal pulse generator is used to control motor
- * @pwm_divisor: divisor for external PWM device
- * @internal_mode_pattern: internal mode pattern for internal mode
- *     [0 - 3]: valid pattern number
- * @pattern_cycle: the number of cycles of the waveform
- *                for the internal mode pattern
- *     [0 - 15]: available cycles
- * @pattern_signal_period: period of the waveform for the internal mode pattern
- *     [0 - 255]: available period
- */
-struct max8997_haptic_platform_data {
-       int pwm_channel_id;
-       int pwm_period;
-
-       enum max8997_haptic_motor_type type;
-       enum max8997_haptic_pulse_mode mode;
-       enum max8997_haptic_pwm_divisor pwm_divisor;
-
-       int internal_mode_pattern;
-       int pattern_cycle;
-       int pattern_signal_period;
-};
-
 struct max8997_platform_data {
        /* IRQ */
        int irq_base;
@@ -241,9 +192,7 @@ struct max8997_platform_data {
        /* ---- MUIC ---- */
        struct max8997_muic_platform_data *muic_pdata;
 
-       /* ---- HAPTIC ---- */
-       struct max8997_haptic_platform_data *haptic_pdata;
-
+       /* HAPTIC: Not implemented */
        /* RTC: Not implemented */
        /* ---- LED ---- */
        struct max8997_led_platform_data *led_pdata;
This page took 0.027028 seconds and 5 git commands to generate.