Transfer the holomorphic function f from the unit disc to the upper half-plane by the conformal map (so that f(z) becomes F(w)). The boundary of the disc (the unit circle) gets transformed to the real axis in the w-plane, and you can then use the Schwarz principle to conclude that F is constant and hence so is f.