-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
phy: ti: am654: simplify return handling
commit 51eb13160b83110723514580171ec25a9d7f3cbe from git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git commit b494bbb upstream. Checking return value after each regfield write becomes hard to read quickly as number of writes increase. Simplify by checking for error only once. Signed-off-by: Sekhar Nori <nsekhar@ti.com> Link: https://lore.kernel.org/r/20200727194603.44636-3-nsekhar@ti.com Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
- Loading branch information
Showing
1 changed file
with
20 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters