static int __init tegratab_skin_init(void)
{
    if (machine_is_tegratab()) {
        tegra_get_board_info(&board_info);
        if (board_info.board_id == BOARD_E1569 ||
                (board_info.board_id == BOARD_P1640 &&
                 (board_info.fab == BOARD_FAB_A00 ||
                  board_info.fab == BOARD_FAB_A01))) {
            /* Use this for E1569 and P1640 A00/A01 */
            skin_data.toffset = 5588;
            skin_data.ndevs = ARRAY_SIZE(skin_devs);
            skin_data.devs = skin_devs;
        } else {
            /* Use this after P1640 A02. */
            skin_data.toffset = 799;
            skin_data.ndevs = ARRAY_SIZE(skin_devs_a02);
            skin_data.devs = skin_devs_a02;
        }

        balanced_throttle_register(&skin_throttle, "skin-balanced");
        tegra_skin_therm_est_device.dev.platform_data = &skin_data;
        platform_device_register(&tegra_skin_therm_est_device);
    }

    return 0;
}
static int __init tegratab_fixed_regulator_init(void)
{
	if (!machine_is_tegratab())
		return 0;

	return platform_add_devices(fixed_reg_devs,
			ARRAY_SIZE(fixed_reg_devs));
}
static int __init tegratab_wifi_prepower(void)
{
	if (!machine_is_tegratab())
		return 0;

	tegratab_wifi_power(1);

	return 0;
}
static int __init tegratab_skin_init(void)
{
	if (machine_is_tegratab()) {
		balanced_throttle_register(&skin_throttle, "skin-balanced");
		tegra_skin_therm_est_device.dev.platform_data = &skin_data;
		platform_device_register(&tegra_skin_therm_est_device);
	}

	return 0;
}
static int __init tegratab_wifi_prepower(void)
{
	if (!machine_is_tegratab())
		return 0;

#ifdef CONFIG_ANDROID
	/* In charger mode, don't power on wifi. */
	if (get_androidboot_mode() == BOOTMODE_CHARGER)
		return 0;
#endif

	tegratab_wifi_power(1);

	return 0;
}
static int __init tegratab_throttle_init(void)
{
	if (machine_is_tegratab())
		balanced_throttle_register(&tj_throttle, "tegra-balanced");
	return 0;
}