extcon: Use the unique id for external connector instead of string
[deliverable/linux.git] / include / linux / extcon / extcon-adc-jack.h
index 9ca958c4e94c79f9ae7997e47b6c521478930b19..53c60806bcfb6d28cdb209aa41a619fee928513f 100644 (file)
@@ -44,7 +44,7 @@ struct adc_jack_cond {
  * @consumer_channel:  Unique name to identify the channel on the consumer
  *                     side. This typically describes the channels used within
  *                     the consumer. E.g. 'battery_voltage'
- * @cable_names:       array of cable names ending with null.
+ * @cable_names:       array of extcon id for supported cables.
  * @adc_contitions:    array of struct adc_jack_cond conditions ending
  *                     with .state = 0 entry. This describes how to decode
  *                     adc values into extcon state.
@@ -58,8 +58,7 @@ struct adc_jack_pdata {
        const char *name;
        const char *consumer_channel;
 
-       /* The last entry should be NULL */
-       const char **cable_names;
+       const enum extcon *cable_names;
 
        /* The last entry's state should be 0 */
        struct adc_jack_cond *adc_conditions;
This page took 0.033423 seconds and 5 git commands to generate.