X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fmisc%2Fad525x_dpot.h;h=6bd1eba23bc01ebe81b9db9c6f1a198f23de1f28;hb=1ca180425cb8d57166bdcbc7ae4fbceaeae0f1fd;hp=82b2cb77ae197b2124ede9131dc4cbe0902ce0e8;hpb=d756bd2d9339447c29bde950910586df8f8941ec;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/misc/ad525x_dpot.h b/drivers/misc/ad525x_dpot.h index 82b2cb77ae19..6bd1eba23bc0 100644 --- a/drivers/misc/ad525x_dpot.h +++ b/drivers/misc/ad525x_dpot.h @@ -208,12 +208,8 @@ struct ad_dpot_bus_data { const struct ad_dpot_bus_ops *bops; }; -struct ad_dpot_id { - char *name; - unsigned long devid; -}; - -int ad_dpot_probe(struct device *dev, struct ad_dpot_bus_data *bdata, const struct ad_dpot_id *id); +int ad_dpot_probe(struct device *dev, struct ad_dpot_bus_data *bdata, + unsigned long devid, const char *name); int ad_dpot_remove(struct device *dev); #endif