bh1770glc.c (97eb3f24352ec6632c2127b35d8087d2a809a9b9) bh1770glc.c (a64fe2ed76614d37abb6966a67f4f39d10efba3c)
1/*
2 * This file is part of the ROHM BH1770GLC / OSRAM SFH7770 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 *

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

1394 .owner = THIS_MODULE,
1395 .pm = &bh1770_pm_ops,
1396 },
1397 .probe = bh1770_probe,
1398 .remove = __devexit_p(bh1770_remove),
1399 .id_table = bh1770_id,
1400};
1401
1/*
2 * This file is part of the ROHM BH1770GLC / OSRAM SFH7770 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 *

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

1394 .owner = THIS_MODULE,
1395 .pm = &bh1770_pm_ops,
1396 },
1397 .probe = bh1770_probe,
1398 .remove = __devexit_p(bh1770_remove),
1399 .id_table = bh1770_id,
1400};
1401
1402static int __init bh1770_init(void)
1403{
1404 return i2c_add_driver(&bh1770_driver);
1405}
1402module_i2c_driver(bh1770_driver);
1406
1403
1407static void __exit bh1770_exit(void)
1408{
1409 i2c_del_driver(&bh1770_driver);
1410}
1411
1412MODULE_DESCRIPTION("BH1770GLC / SFH7770 combined ALS and proximity sensor");
1413MODULE_AUTHOR("Samu Onkalo, Nokia Corporation");
1414MODULE_LICENSE("GPL v2");
1404MODULE_DESCRIPTION("BH1770GLC / SFH7770 combined ALS and proximity sensor");
1405MODULE_AUTHOR("Samu Onkalo, Nokia Corporation");
1406MODULE_LICENSE("GPL v2");
1415
1416module_init(bh1770_init);
1417module_exit(bh1770_exit);