]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
intel_menlow: don't set max_state a negative value
authorZhang Rui <rui.zhang@intel.com>
Thu, 11 Sep 2008 02:56:00 +0000 (10:56 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 4 Nov 2008 03:56:32 +0000 (22:56 -0500)
commitc2d06fe338912ee56c2ddd7de5574d5396ed8050
tree6a7e6ad344135d6dca8c0d7984034995784fe233
parent2830c9fb8e66cee70b8bffdfb0de01c144c7e643
intel_menlow: don't set max_state a negative value

max_state is unsigned long.
don't set max_state a negative value

Cc : Thomas Sujith <sujith.thomas@intel.com>
Cc : Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/intel_menlow.c