--0-823697767-1032328986=:358
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hello Linus,
Cleanup of i2c-core, i2c-proc and i2c-dev to use new module_init and module_exit
functions. Cleanup of old compatability statements.
Albert
-- ac9410@attbi.com--0-823697767-1032328986=:358 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=1-mod-cleanup-patch Content-Transfer-Encoding: BASE64 Content-ID: <Pine.LNX.4.44.0209180203060.358@home1> Content-Description: Content-Disposition: attachment; filename=1-mod-cleanup-patch
LS0tIGxpbnV4LTIuNS4zNi9kcml2ZXJzL2kyYy9pMmMtY29yZS5jLm9yaWcJ MjAwMi0wOS0wOSAxMzozNTowMy4wMDAwMDAwMDAgLTA0MDANCisrKyBsaW51 eC9kcml2ZXJzL2kyYy9pMmMtY29yZS5jCTIwMDItMDktMTcgMjM6MjA6NTMu MDAwMDAwMDAwIC0wNDAwDQpAQCAtMjEsNyArMjEsNyBAQA0KICAgIEFsbCBT TUJ1cy1yZWxhdGVkIHRoaW5ncyBhcmUgd3JpdHRlbiBieSBGcm9kbyBMb29p amFhcmQgPGZyb2RvbEBkZHMubmw+DQogICAgU01CdXMgMi4wIHN1cHBvcnQg YnkgTWFyayBTdHVkZWJha2VyIDxtZHN4eXoxMjNAeWFob28uY29tPiAgICAg ICAgICAgICAgICAqLw0KIA0KLS8qICRJZDogaTJjLWNvcmUuYyx2IDEuODMg MjAwMi8wNy8wOCAwMTozNzoxNSBtZHMgRXhwICQgKi8NCisvKiAkSWQ6IGky Yy1jb3JlLmMsdiAxLjg2IDIwMDIvMDkvMTIgMDY6NDc6MjYgYWM5NDEwIEV4 cCAkICovDQogDQogI2luY2x1ZGUgPGxpbnV4L21vZHVsZS5oPg0KICNpbmNs dWRlIDxsaW51eC9rZXJuZWwuaD4NCkBAIC0zNiwxMCArMzYsNiBAQA0KICNp bmNsdWRlIDxsaW51eC92ZXJzaW9uLmg+DQogI2luY2x1ZGUgPGxpbnV4L2lu aXQuaD4NCiANCi0jaWYgTElOVVh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l9jbGVhbnVw KCk7DQotfQ0KLQ0KLSNlbmRpZiAvKiBkZWYgTU9EVUxFICovDQotDQorbW9k dWxlX2luaXQoaTJjX2Rldl9pbml0KTsNCittb2R1bGVfZXhpdChpMmNkZXZf Y2xlYW51cCk7DQo= --0-823697767-1032328986=:358-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/