OSDN Git Service

platform/chrome: chromeos_laptop: drop checks of NULL-safe functions
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 20 Aug 2019 15:34:49 +0000 (17:34 +0200)
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>
Mon, 26 Aug 2019 13:15:52 +0000 (15:15 +0200)
commit38d3cfbc95624fa2e8e84cd36c10bfef31d90f0c
tree315dbad9626feb399e5188829a38fb881b5c5a23
parent3b81d8bdd9143449a85166e7987aedea145fce54
platform/chrome: chromeos_laptop: drop checks of NULL-safe functions

No need to check the argument of i2c_unregister_device() and
property_entries_free() because the functions do check it.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
drivers/platform/chrome/chromeos_laptop.c