drivercore: revert addition of of_match to struct device
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / device.h
index ab8dfc095709674c9afca67152af5c651f1e2d03..d08399db6e2c6076f8e496a155ca667bbfa70af9 100644 (file)
@@ -442,7 +442,6 @@ struct device {
        struct dev_archdata     archdata;
 
        struct device_node      *of_node; /* associated device tree node */
-       const struct of_device_id *of_match; /* matching of_device_id from driver */
 
        dev_t                   devt;   /* dev_t, creates the sysfs "dev" */