[haiku-commits] r37083 - haiku/trunk/src/add-ons/kernel/bus_managers/ps2

  • From: axeld@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 10 Jun 2010 12:56:05 +0200 (CEST)

Author: axeld
Date: 2010-06-10 12:56:05 +0200 (Thu, 10 Jun 2010)
New Revision: 37083
Changeset: http://dev.haiku-os.org/changeset/37083/haiku

Modified:
   haiku/trunk/src/add-ons/kernel/bus_managers/ps2/ps2_standard_mouse.c
Log:
* Fixed style violations introduced by Rudolf.


Modified: haiku/trunk/src/add-ons/kernel/bus_managers/ps2/ps2_standard_mouse.c
===================================================================
--- haiku/trunk/src/add-ons/kernel/bus_managers/ps2/ps2_standard_mouse.c        
2010-06-10 10:48:07 UTC (rev 37082)
+++ haiku/trunk/src/add-ons/kernel/bus_managers/ps2/ps2_standard_mouse.c        
2010-06-10 10:56:05 UTC (rev 37083)
@@ -10,6 +10,7 @@
  *             Clemens Zeidler <czeidler@xxxxxx>
  */
 
+
 /*!    PS/2 mouse device driver
 
        A PS/2 mouse is connected to the IBM 8042 controller, and gets its
@@ -300,8 +301,8 @@
                }
        }
 
-       if ((deviceId == PS2_DEV_ID_STANDARD) ||
-               (deviceId == PS2_DEV_ID_TOUCHPAD_RICATECH)) {
+       if (deviceId == PS2_DEV_ID_STANDARD
+               || deviceId == PS2_DEV_ID_TOUCHPAD_RICATECH) {
                INFO("ps2: probe_mouse Standard PS/2 mouse found\n");
                dev->name = kStandardMousePath[dev->idx];
                dev->packet_size = PS2_PACKET_STANDARD;


Other related posts:

  • » [haiku-commits] r37083 - haiku/trunk/src/add-ons/kernel/bus_managers/ps2 - axeld