EmbLogic's Blog

Implementing cdev_del() — remove a cdev from the system

RCS file: clean.c,v
Working file: clean.c
head: 1.3
branch:
locks: strict
raghav: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3;    selected revisions: 3
description:
to delete the chr_dev structure which we had initialized during chr_dev init
—————————-
revision 1.3    locked by: raghav;
date: 2014/02/23 13:09:42;  author: raghav;  state: Exp;  lines: +2 -2
now unregistering the driver from the driver table using major minor number.
—————————-
revision 1.2
date: 2014/02/23 13:09:07;  author: raghav;  state: Exp;  lines: +1 -1
kfree — free previously allocated memory
—————————-
revision 1.1
date: 2014/02/23 13:08:14;  author: raghav;  state: Exp;
Initial revision
=============================================================================

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>