From: Dmitry Torokhov Date: Tue, 13 Oct 2009 03:17:41 +0000 (-0700) Subject: Driver core: allow certain drivers prohibit bind/unbind via sysfs X-Git-Tag: v2.6.32-rc6~24^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a6f2a7512021ceae3c4201c7aab07f032e9ce91;p=pandora-kernel.git Driver core: allow certain drivers prohibit bind/unbind via sysfs Platform drivers registered via platform_driver_probe() can be bound to devices only once, upon registration, because discard their probe() routines to save memory. Unbinding the driver through sysfs 'unbind' leaves the device stranded and confuses users so let's not create bind and unbind attributes for such drivers. Signed-off-by: Dmitry Torokhov Cc: Éric Piel Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed