Re: [PATCH] [29/48] Suspend2 2.1.9.8 for 2.6.12: 606-all-settings.patch

From: Pavel Machek
Date: Sun Jul 10 2005 - 13:04:55 EST


Hi!

> +static void suspend2_suspend_2(void)
> +{
> + if (!save_image_part1()) {
> + suspend_power_down();
> +
> + if (suspend2_powerdown_method == 3) {
> + int temp_result;
> +
> + temp_result = read_pageset2(1);


Is that just me or do I see way too many numbers. suspend2_suspend_2
is really funny name for a functions. powerdown_method should really
use some symbolic constants.
Pavel
--
teflon -- maybe it is a trademark, but it should not be.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/