Commit 293c14d9 authored by Patrick Mochel's avatar Patrick Mochel

driver model: remove few remaining references to driverfs.

parent 69a304e3
...@@ -47,8 +47,3 @@ void fill_devpath(struct device * dev, char * path, int length) ...@@ -47,8 +47,3 @@ void fill_devpath(struct device * dev, char * path, int length)
pr_debug("%s: path = '%s'\n",__FUNCTION__,path); pr_debug("%s: path = '%s'\n",__FUNCTION__,path);
} }
void device_remove_symlink(struct driver_dir_entry * dir, const char * name)
{
driverfs_remove_file(dir,name);
}
extern int device_create_dir(struct driver_dir_entry * dir, struct driver_dir_entry * parent);
int get_devpath_length(struct device * dev); int get_devpath_length(struct device * dev);
void fill_devpath(struct device * dev, char * path, int length); void fill_devpath(struct device * dev, char * path, int length);
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/driverfs_fs.h>
#include <linux/kobject.h> #include <linux/kobject.h>
#define DEVICE_NAME_SIZE 80 #define DEVICE_NAME_SIZE 80
...@@ -284,8 +283,6 @@ struct device { ...@@ -284,8 +283,6 @@ struct device {
* persists for the right amount of time */ * persists for the right amount of time */
struct bus_type * bus; /* type of bus device is on */ struct bus_type * bus; /* type of bus device is on */
struct driver_dir_entry dir;
struct device_driver *driver; /* which driver has allocated this struct device_driver *driver; /* which driver has allocated this
device */ device */
void *driver_data; /* data private to the driver */ void *driver_data; /* data private to the driver */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment