summaryrefslogtreecommitdiffstats
path: root/fs/ramfs.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-02-19 16:43:39 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-02-25 14:03:56 +0100
commit3a92711511144763e42a9605479160583409861c (patch)
tree28a17fc4dfeb6ed85450958cc7f38576eb1f4e39 /fs/ramfs.c
parent76c7f90a54a750f0779c81d13cd94e6f674848ad (diff)
downloadbarebox-3a92711511144763e42a9605479160583409861c.tar.gz
barebox-3a92711511144763e42a9605479160583409861c.tar.xz
fs: get fs device using container_of
This reduces the usage of dev->type_data. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/ramfs.c')
-rw-r--r--fs/ramfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ramfs.c b/fs/ramfs.c
index 5e352f277a..83ab6dfc06 100644
--- a/fs/ramfs.c
+++ b/fs/ramfs.c
@@ -562,7 +562,6 @@ static struct fs_driver_d ramfs_driver = {
.probe = ramfs_probe,
.remove = ramfs_remove,
.name = "ramfs",
- .type_data = &ramfs_driver,
}
};