]> git.hungrycats.org Git - linux/commitdiff
[ARM] Remove the hh.org H3600 "example" code.
authorRussell King <rmk@flint.arm.linux.org.uk>
Mon, 13 Sep 2004 23:34:49 +0000 (00:34 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Mon, 13 Sep 2004 23:34:49 +0000 (00:34 +0100)
arch/arm/kernel/apm.c

index b2d42cb8490ce7180f372d8268d19f19ed628952..c63d9c890014fba9766f9bd32b1e05d6808e9c97 100644 (file)
@@ -102,19 +102,6 @@ static const char driver_version[] = "1.13";       /* no spaces */
  */
 static void __apm_get_power_status(struct apm_power_info *info)
 {
-#if 0 && defined(CONFIG_SA1100_H3600) && defined(CONFIG_TOUCHSCREEN_H3600)
-       extern int h3600_apm_get_power_status(u_char *, u_char *, u_char *,
-                                             u_char *, u_short *);
-
-       if (machine_is_h3600()) {
-               int dx;
-               h3600_apm_get_power_status(&info->ac_line_status,
-                               &info->battery_status, &info->battery_flag,
-                               &info->battery_life, &dx);
-               info->time = dx & 0x7fff;
-               info->units = dx & 0x8000 ? 0 : 1;
-       }
-#endif
 }
 
 /*