firmware: dmi: Fix permissions of product_family
authorJean Delvare <jdelvare@suse.de>
Thu, 15 Jun 2017 11:46:01 +0000 (13:46 +0200)
committerJean Delvare <jdelvare@suse.de>
Thu, 15 Jun 2017 11:46:01 +0000 (13:46 +0200)
commite0733e975385d25d88c1384dafb8ea4dcf7513c0
treeb9982ad539bc5206621587508383eaed60053fdb
parentc926820085437a27b27e78996b2c7a5ad94e8055
firmware: dmi: Fix permissions of product_family

This is not sensitive information like serial numbers, we can allow
all users to read it.

Fix odd alignment while we're here.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Fixes: c61872c9833d ("firmware: dmi: Add DMI_PRODUCT_FAMILY identification string")
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
drivers/firmware/dmi-id.c