(Reuters) - HP Inc , the hardware business of the former Hewlett-Packard Co, reported higher-than-expected quarterly revenue and profit as demand recovered for its notebooks.