FS Interface (/proc)
-------------------------------------------------------------------------- */
-struct proc_dir_entry *acpi_ac_dir = NULL;
+struct proc_dir_entry *acpi_ac_dir;
int acpi_ac_seq_show(struct seq_file *seq, void *offset)
{
MODULE_LICENSE("GPL");
-static uid_t asus_uid = 0;
-static gid_t asus_gid = 0;
+static uid_t asus_uid;
+static gid_t asus_gid;
MODULE_PARM(asus_uid, "i");
MODULE_PARM_DESC(uid, "UID for entries in /proc/acpi/asus.\n");
MODULE_PARM(asus_gid, "i");
};
/* procdir we use */
-static struct proc_dir_entry *asus_proc_dir = NULL;
+static struct proc_dir_entry *asus_proc_dir;
/*
* This header is made available to allow proper configuration given model,
* revision number , ... this info cannot go in struct asus_hotk because it is
* available before the hotk
*/
-static struct acpi_table_header *asus_info = NULL;
+static struct acpi_table_header *asus_info;
/*
* The hotkey driver declaration
FS Interface (/proc)
-------------------------------------------------------------------------- */
-struct proc_dir_entry *acpi_battery_dir = NULL;
+struct proc_dir_entry *acpi_battery_dir;
static int
acpi_battery_read_info (
FS Interface (/proc)
-------------------------------------------------------------------------- */
-static struct proc_dir_entry *acpi_button_dir = NULL;
+static struct proc_dir_entry *acpi_button_dir;
static int acpi_button_info_seq_show(struct seq_file *seq, void *offset)
{
FS Interface (/proc)
-------------------------------------------------------------------------- */
-struct proc_dir_entry *acpi_ec_dir = NULL;
+struct proc_dir_entry *acpi_ec_dir;
static int
FS Interface (/proc)
-------------------------------------------------------------------------- */
-struct proc_dir_entry *acpi_fan_dir = NULL;
+struct proc_dir_entry *acpi_fan_dir;
static int
#ifdef ENABLE_DEBUGGER
#include <linux/kdb.h>
/* stuff for debugger support */
-int acpi_in_debugger = 0;
+int acpi_in_debugger;
extern char line_buf[80];
#endif /*ENABLE_DEBUGGER*/
-static int acpi_irq_irq = 0;
-static OSD_HANDLER acpi_irq_handler = NULL;
-static void *acpi_irq_context = NULL;
+static int acpi_irq_irq;
+static OSD_HANDLER acpi_irq_handler;
+static void *acpi_irq_context;
acpi_status
acpi_os_initialize(void)
FS Interface (/proc)
-------------------------------------------------------------------------- */
-struct proc_dir_entry *acpi_power_dir = NULL;
+struct proc_dir_entry *acpi_power_dir;
static int acpi_power_seq_show(struct seq_file *seq, void *offset)
{
static struct acpi_processor *processors[NR_CPUS];
static struct acpi_processor_errata errata;
-static void (*pm_idle_save)(void) = NULL;
+static void (*pm_idle_save)(void);
/* --------------------------------------------------------------------------
MODULE_DESCRIPTION(ACPI_THERMAL_DRIVER_NAME);
MODULE_LICENSE("GPL");
-static int tzp = 0;
+static int tzp;
MODULE_PARM(tzp, "i");
MODULE_PARM_DESC(tzp, "Thermal zone polling frequency, in 1/10 seconds.\n");
FS Interface (/proc)
-------------------------------------------------------------------------- */
-struct proc_dir_entry *acpi_thermal_dir = NULL;
+struct proc_dir_entry *acpi_thermal_dir;
static int acpi_thermal_state_seq_show(struct seq_file *seq, void *offset)
{
return status;
}
-static struct proc_dir_entry* toshiba_proc_dir = NULL;
+static struct proc_dir_entry* toshiba_proc_dir;
static int force_fan;
static int last_key_event;
static int key_event_valid;