mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
tee: qcomtee: Drop unused assignment of platform_device_id driver data
The driver explicitly sets the .driver_data member of struct platform_device_id to zero without relying on that value. Drop this unused assignment. While touching this array unify spacing and usage of commas and use a named initializer for .name for improved readability. Signed-off-by: Uwe Kleine-König (The Capable Hub) <[email protected]> Reviewed-by: Amirreza Zarrabi <[email protected]> Signed-off-by: Jens Wiklander <[email protected]>
This commit is contained in:
1 parent
dc59e4fea9
commit
d92f87f3e7
1 file changed
+6
-1
@@ -798,7 +798,12 @@ static void qcomtee_remove(struct platform_device *pdev)
|
||||
kfree(qcomtee);
|
||||
}
|
||||
|
||||
static const struct platform_device_id qcomtee_ids[] = { { "qcomtee", 0 }, {} };
|
||||
static const struct platform_device_id qcomtee_ids[] = {
|
||||
{
|
||||
.name = "qcomtee",
|
||||
},
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(platform, qcomtee_ids);
|
||||
|
||||
static struct platform_driver qcomtee_platform_driver = {
|
||||
|
||||
Reference in new issue
Block a user