Servo: Fix clobber_ok usage.
Clobber_ok allows us to overload signals from different overlays,
i.e. a board may have certain signals other boards will not.
Currently however if a board tries to clobber a signal that does not
exist for all boards then adding of the signal fails. This change
instead only replaces the signal if it already exists and if not
just treats it as a regular new signal.
TEST=Ran locally and ensured that clobbering an unexistant signal
Reviewed-by: Richard Barnette <email@example.com>
Commit-Queue: Simran Basi <firstname.lastname@example.org>
Reviewed-by: Simran Basi <email@example.com>
Tested-by: Simran Basi <firstname.lastname@example.org>
2 files changed