apds990x.c (99b1bb61b225c3eb4d3b196d4f1d041695b19a7e) apds990x.c (a64fe2ed76614d37abb6966a67f4f39d10efba3c)
1/*
2 * This file is part of the APDS990x sensor driver.
3 * Chip is combined proximity and ambient light sensor.
4 *
5 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
6 *
7 * Contact: Samu Onkalo <samu.p.onkalo@nokia.com>
8 *

--- 1265 unchanged lines hidden (view full) ---

1274 .owner = THIS_MODULE,
1275 .pm = &apds990x_pm_ops,
1276 },
1277 .probe = apds990x_probe,
1278 .remove = __devexit_p(apds990x_remove),
1279 .id_table = apds990x_id,
1280};
1281
1/*
2 * This file is part of the APDS990x sensor driver.
3 * Chip is combined proximity and ambient light sensor.
4 *
5 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
6 *
7 * Contact: Samu Onkalo <samu.p.onkalo@nokia.com>
8 *

--- 1265 unchanged lines hidden (view full) ---

1274 .owner = THIS_MODULE,
1275 .pm = &apds990x_pm_ops,
1276 },
1277 .probe = apds990x_probe,
1278 .remove = __devexit_p(apds990x_remove),
1279 .id_table = apds990x_id,
1280};
1281
1282static int __init apds990x_init(void)
1283{
1284 return i2c_add_driver(&apds990x_driver);
1285}
1282module_i2c_driver(apds990x_driver);
1286
1283
1287static void __exit apds990x_exit(void)
1288{
1289 i2c_del_driver(&apds990x_driver);
1290}
1291
1292MODULE_DESCRIPTION("APDS990X combined ALS and proximity sensor");
1293MODULE_AUTHOR("Samu Onkalo, Nokia Corporation");
1294MODULE_LICENSE("GPL v2");
1284MODULE_DESCRIPTION("APDS990X combined ALS and proximity sensor");
1285MODULE_AUTHOR("Samu Onkalo, Nokia Corporation");
1286MODULE_LICENSE("GPL v2");
1295
1296module_init(apds990x_init);
1297module_exit(apds990x_exit);