> 1. exports 2 platform device attributes files in
>    /sys/devices/platform/intel_oaktrail/:
>    camera - Camera subsystem enabled: contains either 0 or 1. (rw)
>    touchscreen - Touchscreen subsystem enabled: contains either 0 or
> 1. (ro)

Is there a reason to expose these this way rather than just enabling
them when the user opens the device ?
> +static const struct name_mapping i2c_device_names[] = {
> +     { "SMO8601", "lsm303dlh_a" },
> +     #if 1
> +     { "COOLDEV", "bma150" },
> +     #endif
> +
> +     /* other sensors not exposed by BIOS yet */
> +     #if 0
> +     { "SMO8601", "lsm303dlh_m" },
> +     { "xxx", "AK8975" },
> +     { "xxx", "L3G4200D" },
> +     { "xxx", "mpu3050" },
> +     #endif

I would submit with the #if's cleaned up


> +#if 1
> +     /* Add this bma150 temporary before BIOS exported it. */
> +     oaktrail_i2c_device_register("COOLDEV", 0x38);
> +#endif

Ditto

Looks basically sound to me otherwise
_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel

Reply via email to