From: Alessandro Zummo Date: Sat, 20 May 2006 22:00:29 +0000 (-0700) Subject: [PATCH] rtc subsystem: use ENOIOCTLCMD and ENOTTY where appropriate X-Git-Tag: v2.6.17-rc5~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3969e5831adac133b286600e74214e1ae42ec05;p=pandora-kernel.git [PATCH] rtc subsystem: use ENOIOCTLCMD and ENOTTY where appropriate Appropriately use -ENOIOCTLCMD and -ENOTTY when the ioctl is not implemented by a driver. (akpm: we're not allowed to return -ENOIOCTLCMD to userspace. This patch does the right thing). Signed-off-by: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed