diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-09-19 13:13:15 -0700 |
---|---|---|
committer | Live-CD User <linux@linux.site> | 2009-09-19 13:13:15 -0700 |
commit | 6c28181cf8b7d5af5f20a7bd102452033e14d946 (patch) | |
tree | fa1efdfa54133bbdc5e146bf1e248f2597253db4 /drivers/clocksource | |
parent | cc7fdf49d6f06efdf0cb7da8d7abe7eff663aa9b (diff) | |
download | blackbird-op-linux-6c28181cf8b7d5af5f20a7bd102452033e14d946.tar.gz blackbird-op-linux-6c28181cf8b7d5af5f20a7bd102452033e14d946.zip |
cyclades: ioctls cleanup
- add a cy_ prefix to functions with changed prototypes
- cy_get_serial_info: initialize serial_struct by initializer,
save a memset
- inline simple functions (get_mon_info, {s,g}et_default_threshold,
{s,g}et_default_timeout) directly in the ioctl handler
- add a cy_cflags_changed helper to not copy its code by
wait_event_interruptible
- remove some ret_val = 0 assignments, it's preset to 0
- TIOCGICOUNT: don't do many put_user's, do one copy_to_user
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions