aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/sm750fb/ddk750_chip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index cd1508a35fc2..9b5bb7eba279 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -110,7 +110,7 @@ void setChipClock(unsigned int frequency)
return;
#endif
- if (frequency != 0) {
+ if (frequency) {
/*
* Set up PLL, a structure to hold the value to be set in clocks.
*/
@@ -139,7 +139,7 @@ void setMemoryClock(unsigned int frequency)
if (getChipType() == SM750LE)
return;
#endif
- if (frequency != 0) {
+ if (frequency) {
/* Set the frequency to the maximum frequency that the DDR Memory can take
which is 336MHz. */
if (frequency > MHz(336))
@@ -187,7 +187,7 @@ void setMasterClock(unsigned int frequency)
if (getChipType() == SM750LE)
return;
#endif
- if (frequency != 0) {
+ if (frequency) {
/* Set the frequency to the maximum frequency that the SM750 engine can
run, which is about 190 MHz. */
if (frequency > MHz(190))