]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (7939): pvrusb2: Remove sysfs interface hackery
authorMike Isely <isely@pobox.com>
Mon, 26 May 2008 09:00:47 +0000 (06:00 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:07:07 +0000 (07:07 -0300)
commitf90fe7a3f7fcba0abd89ce0978628ef1d86ecbf9
tree5e5c31ba96c9fd39b6bd279627f21b1f6e8091ae
parentfa98e594220b86eb3632de478352e93ebf1201fa
V4L/DVB (7939): pvrusb2: Remove sysfs interface hackery

Back in the early days of the pvrusb2 driver, the kernel class
mechanism in use for the sysfs interface had no means to pass
per-attribute information to the show / store functions.  This forced
me to implement a horrible ugly thunking mechanism (i.e. infer the
missing data through the use of dedicated cookie cutter bounce
functions).  However now we're using a better mechanism which also
passes enough additional information to the show / store functions
that we no longer need the hack.  So eliminate all the crap.  Yay!

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-sysfs.c