From: Abdellatif El Khlifi <[email protected]>

Remove NULL pointer check for ops

uclasses that use ops typically don't check for NULL.

Signed-off-by: Abdellatif El Khlifi <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
Cc: Jens Wiklander <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Casey Connolly <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>

---

Changelog of changes:
===========================

v2:

* As suggested by Heinrich: The commit is renamed and the ops NULL check removed

v1:

* Commit title was "arm_ffa: Add NULL pointer check to the uclass driver 
operations"

 drivers/firmware/arm-ffa/arm-ffa-uclass.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/arm-ffa/arm-ffa-uclass.c 
b/drivers/firmware/arm-ffa/arm-ffa-uclass.c
index 96c64964bb7..32dd9458da9 100644
--- a/drivers/firmware/arm-ffa/arm-ffa-uclass.c
+++ b/drivers/firmware/arm-ffa/arm-ffa-uclass.c
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 /*
- * Copyright 2022-2023 Arm Limited and/or its affiliates 
<[email protected]>
+ * Copyright 2022-2023, 2025 Arm Limited and/or its affiliates 
<[email protected]>
  *
  * Authors:
  *   Abdellatif El Khlifi <[email protected]>
-- 
2.25.1

Reply via email to