]> git.karo-electronics.de Git - karo-tx-linux.git/commit
leds: verify vendor and change license in mlxcpld driver
authorVadim Pasternak <vadimp@mellanox.com>
Thu, 3 Nov 2016 19:17:19 +0000 (19:17 +0000)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Tue, 22 Nov 2016 11:07:04 +0000 (12:07 +0100)
commitdca897e28f364724e42f65cf0262fa367512498d
tree022cbbdf1164f1b0f68d80f96c3c2eb0c0d8e4a4
parenta8c170b015ff6695641bdfbdb74729411ba1e9e5
leds: verify vendor and change license in mlxcpld driver

Verify that vendor is Mellanox as the first step of initialization.
If it is not - return ENODEV.
Change module license from "GPL v2" to "Dual BSD/GPL".

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
drivers/leds/leds-mlxcpld.c