(Reuters) - Apple Inc and Amazon.com Inc have ended their lawsuit over who has the right to use the "app store" name, clearing the way for both companies to use it.