summaryrefslogtreecommitdiff
path: root/src/drivers/intel
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-06-17 15:09:51 +1000
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-06-20 07:36:31 +0200
commit669cb2f0c4af8f01ac1d83d854258287077bbe95 (patch)
treed1543cbdfde1fbbcf1794b9041d24546955f5522 /src/drivers/intel
parent3722f3c3f5e77763319ccd635405fff53139959f (diff)
downloadcoreboot-669cb2f0c4af8f01ac1d83d854258287077bbe95.tar.xz
drivers/intel/gma: Equality comparison with extraneous parentheses
Spotted by Clang. Change-Id: I3e612c0fa050a09fa7e5b1cb643935b84eb2b957 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/6053 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Idwer Vollering <vidwer@gmail.com>
Diffstat (limited to 'src/drivers/intel')
-rw-r--r--src/drivers/intel/gma/intel_dp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/intel/gma/intel_dp.c b/src/drivers/intel/gma/intel_dp.c
index b824cb7950..30c25684d0 100644
--- a/src/drivers/intel/gma/intel_dp.c
+++ b/src/drivers/intel/gma/intel_dp.c
@@ -811,7 +811,7 @@ void ironlake_edp_panel_on(struct intel_dp *intel_dp)
ironlake_wait_panel_power_cycle(intel_dp);
pp = ironlake_get_pp_control();
- if ((intel_dp->gen == 5)) {
+ if (intel_dp->gen == 5) {
/* ILK workaround: disable reset around power sequence */
pp &= ~PANEL_POWER_RESET;
io_i915_write32(pp, PCH_PP_CONTROL);
@@ -827,7 +827,7 @@ void ironlake_edp_panel_on(struct intel_dp *intel_dp)
ironlake_wait_panel_on(intel_dp);
- if ((intel_dp->gen == 5)) {
+ if (intel_dp->gen == 5) {
pp |= PANEL_POWER_RESET; /* restore panel reset bit */
io_i915_write32(pp, PCH_PP_CONTROL);
////POSTING_READ(PCH_PP_CONTROL);